Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 199.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5465, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00291/0.5495, allocations: 2.001 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.5512, allocations: 1.201 MB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.5513, allocations: 3.938 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.5517, allocations: 171.4 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.552, allocations: 151.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.5525, allocations: 219.3 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.5528, allocations: 315.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.5529, allocations: 56.27 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.5531, allocations: 135.5 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.5533, allocations: 151.4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.5533, allocations: 16 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.5534, allocations: 55.95 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.5535, allocations: 87.69 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.5537, allocations: 127.1 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.554, allocations: 361 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.554, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.554, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.554, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007867/0.5548, allocations: 0.6224 MB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.5548, allocations: 8.031 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.5549, allocations: 38.75 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.555, allocations: 40.47 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.5554, allocations: 374 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5554, allocations: 4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.5554, allocations: 8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.5557, allocations: 109.5 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5557, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5557, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5557, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.5559, allocations: 55.95 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.5566, allocations: 0.4925 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.5569, allocations: 142.7 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.557, allocations: 40.84 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.557, allocations: 7.984 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.5573, allocations: 115.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.5573, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004735/0.5578, allocations: 225.1 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5578, allocations: 59.34 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.5583, allocations: 0.5131 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.5583, allocations: 25.7 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5584, allocations: 172.4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.5584, allocations: 35.55 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.5585, allocations: 65.97 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5587, allocations: 350.8 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.5588, allocations: 100.5 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.559, allocations: 135.6 kB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.5593, allocations: 180 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5594, allocations: 0 / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004818/0.5598, allocations: 325.1 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5599, allocations: 13.34 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5599, allocations: 0 / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.5599, allocations: 7.984 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5601, allocations: 47.91 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5601, allocations: 4 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5602, allocations: 19.83 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.5603, allocations: 12 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.5604, allocations: 189.8 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.5605, allocations: 35.56 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.5605, allocations: 39.11 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5606, allocations: 0 / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5606, allocations: 0 / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5606, allocations: 0 / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.5608, allocations: 301.4 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5608, allocations: 0 / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.5609, allocations: 12 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5609, allocations: 11.92 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5609, allocations: 4 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5609, allocations: 0 / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5609, allocations: 0 / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.5613, allocations: 210.5 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.5613, allocations: 112.7 kB / 1.027 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.5614, allocations: 11.94 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.5615, allocations: 11.92 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.5615, allocations: 23.98 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.5616, allocations: 7.984 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002854/0.5618, allocations: 315.1 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5619, allocations: 0 / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002654/0.5621, allocations: 59.98 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/0.5635, allocations: 1.054 MB / 1.029 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.5639, allocations: 195.8 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5639, allocations: 0 / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.564, allocations: 63.91 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.5644, allocations: 86.28 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.5677, allocations: 3.141 MB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.568, allocations: 0.7909 MB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.5681, allocations: 46.95 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.5683, allocations: 103.4 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5683, allocations: 0 / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.5902, allocations: 7.045 MB / 1.04 GB, free: 11.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.663, allocations: 17.05 kB / 1.04 GB, free: 11.09 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches