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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001061/0.001061, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437 MB / 0.71 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5446, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003122/0.5478, allocations: 2.058 MB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.5495, allocations: 1.186 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.5496, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.55, allocations: 155.6 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.5503, allocations: 139.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.5507, allocations: 199.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.551, allocations: 299.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.5512, allocations: 52.3 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.5513, allocations: 127.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.5515, allocations: 147.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.5515, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.5517, allocations: 51.95 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.5518, allocations: 79.67 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.5519, allocations: 115.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.5522, allocations: 353 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5522, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.32e-07/0.5522, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5522, allocations: 0 / 1.022 GB, free: 13.86 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.0008406/0.5531, allocations: 0.6264 MB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5531, allocations: 8.031 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.5532, allocations: 42.73 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.5532, allocations: 36.47 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.5537, allocations: 378 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.5537, allocations: 8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5537, allocations: 8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.554, allocations: 105.6 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.554, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.554, allocations: 8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.554, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.5542, allocations: 59.95 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.5549, allocations: 496.4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.5552, allocations: 134.8 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5553, allocations: 52.77 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.5554, allocations: 3.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.5556, allocations: 119.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.5556, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004896/0.5561, allocations: 221.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5561, allocations: 59.34 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.5566, allocations: 0.5053 MB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.5566, allocations: 29.7 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5568, allocations: 164.4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.5568, allocations: 43.53 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.5569, allocations: 69.88 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.557, allocations: 350.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.5572, allocations: 96.52 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5574, allocations: 135.6 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.5577, allocations: 182.4 kB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5577, allocations: 0 / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004901/0.5582, allocations: 322.7 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5583, allocations: 10.28 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5583, allocations: 0 / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5583, allocations: 4 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.5585, allocations: 47.91 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5585, allocations: 7.984 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.5586, allocations: 23.89 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.5587, allocations: 12 kB / 1.026 GB, free: 9.301 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.0001559/0.5588, allocations: 186.2 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.5589, allocations: 31.56 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.559, allocations: 35.12 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.559, allocations: 3.984 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.559, allocations: 7.922 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.559, allocations: 4 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.5592, allocations: 297.4 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.5592, allocations: 0 / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.806e-05/0.5593, allocations: 23.98 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5593, allocations: 3.938 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5593, allocations: 3.984 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5593, allocations: 4 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5593, allocations: 0 / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.5597, allocations: 204.5 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.5598, allocations: 116.7 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.5598, allocations: 11.94 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.5599, allocations: 7.984 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.56, allocations: 11.98 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.56, allocations: 15.98 kB / 1.027 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002928/0.5603, allocations: 311.1 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5603, allocations: 0 / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002631/0.5606, allocations: 63.89 kB / 1.027 GB, free: 7.895 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.001418/0.562, allocations: 1.053 MB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003633/0.5624, allocations: 188.1 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5624, allocations: 0 / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.5625, allocations: 71.78 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.563, allocations: 84.42 kB / 1.028 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.5664, allocations: 3.165 MB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5668, allocations: 0.787 MB / 1.032 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.5669, allocations: 54.94 kB / 1.032 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.5671, allocations: 103.4 kB / 1.032 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of SimCode: time 1.543e-06/0.5671, allocations: 0 / 1.032 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9115/1.479, allocations: 6.754 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00041/1.479, allocations: 241.5 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/3.255, allocations: 3.625 kB / 1.039 GB, free: 11.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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