Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_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.001672/0.001672, allocations: 108 kB / 15.61 MB, free: 152 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.001901/0.001901, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.88 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6264/0.6278, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003098/0.6309, allocations: 1.986 MB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.6328, allocations: 1.192 MB / 0.9528 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.633, allocations: 6.938 kB / 0.9528 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.6334, allocations: 167 kB / 0.953 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.6339, allocations: 152 kB / 0.9531 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.6344, allocations: 221.8 kB / 0.9534 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.6348, allocations: 312.9 kB / 0.9537 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.635, allocations: 51.98 kB / 0.9537 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.6352, allocations: 141.3 kB / 0.9538 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.6354, allocations: 148.7 kB / 0.954 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.6354, allocations: 22.22 kB / 0.954 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.6356, allocations: 57.03 kB / 0.9541 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.6357, allocations: 88.11 kB / 0.9541 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.6358, allocations: 124.8 kB / 0.9543 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.6362, allocations: 360.2 kB / 0.9546 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6363, allocations: 1.375 kB / 0.9546 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6363, allocations: 0 / 0.9546 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6363, allocations: 0 / 0.9546 GB, free: 5.531 MB / 0.7169 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.001024/0.6373, allocations: 0.622 MB / 0.9552 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6374, allocations: 13.75 kB / 0.9552 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.6374, allocations: 37.03 kB / 0.9553 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.714e-05/0.6375, allocations: 35.22 kB / 0.9553 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.638, allocations: 374.9 kB / 0.9557 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.638, allocations: 3.844 kB / 0.9557 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.6381, allocations: 14.66 kB / 0.9557 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.6383, allocations: 108.4 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6383, allocations: 1.281 kB / 0.9558 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6383, allocations: 4 kB / 0.9558 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6383, allocations: 6.312 kB / 0.9558 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.6385, allocations: 58.52 kB / 0.9558 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.6392, allocations: 0.4886 MB / 0.9563 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.6395, allocations: 136.2 kB / 0.9565 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.6397, allocations: 47.69 kB / 0.9565 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.6397, allocations: 6.188 kB / 0.9565 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.6399, allocations: 112.5 kB / 0.9566 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.6399, allocations: 4 kB / 0.9566 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005085/0.6404, allocations: 224.5 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.6405, allocations: 57.5 kB / 0.9569 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.641, allocations: 0.5074 MB / 0.9574 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.641, allocations: 34.78 kB / 0.9574 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.6411, allocations: 157.5 kB / 0.9576 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.6411, allocations: 42.78 kB / 0.9576 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.6412, allocations: 69.72 kB / 0.9577 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.6413, allocations: 348.4 kB / 0.958 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.6415, allocations: 96.89 kB / 0.9581 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.6417, allocations: 132.3 kB / 0.9582 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.642, allocations: 187.2 kB / 0.9584 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.642, allocations: 0 / 0.9584 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005108/0.6426, allocations: 326.9 kB / 0.9587 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6426, allocations: 9.719 kB / 0.9587 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6426, allocations: 5.047 kB / 0.9587 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6426, allocations: 2.281 kB / 0.9587 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.6428, allocations: 49.59 kB / 0.9588 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6429, allocations: 2.219 kB / 0.9588 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.643, allocations: 29.55 kB / 0.9588 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.6431, allocations: 12.72 kB / 0.9588 GB, free: 2.289 MB / 0.7169 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.0001435/0.6432, allocations: 179 kB / 0.959 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.6433, allocations: 33.66 kB / 0.959 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.6433, allocations: 41.28 kB / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6433, allocations: 2.188 kB / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6434, allocations: 0 / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6434, allocations: 1.062 kB / 0.9591 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.6436, allocations: 295.6 kB / 0.9593 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6436, allocations: 5.438 kB / 0.9593 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.6437, allocations: 13.03 kB / 0.9594 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6437, allocations: 3.938 kB / 0.9594 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.6437, allocations: 6.828 kB / 0.9594 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6437, allocations: 0 / 0.9594 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6437, allocations: 1.281 kB / 0.9594 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.6441, allocations: 207.9 kB / 0.9596 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.6441, allocations: 114.6 kB / 0.9597 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.6442, allocations: 14 kB / 0.9597 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.6443, allocations: 7.203 kB / 0.9597 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.6444, allocations: 19.77 kB / 0.9597 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.6444, allocations: 9.047 kB / 0.9597 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003278/0.6447, allocations: 314.9 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6447, allocations: 1.094 kB / 0.96 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003294/0.6451, allocations: 56.39 kB / 0.9601 GB, free: 1.309 MB / 0.7169 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.001475/0.6466, allocations: 1.066 MB / 0.9611 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.647, allocations: 195.7 kB / 0.9613 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.647, allocations: 0 / 0.9613 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.6472, allocations: 63.22 kB / 0.9614 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.6477, allocations: 86.97 kB / 0.9615 GB, free: 388 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.6518, allocations: 3.131 MB / 0.9645 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6522, allocations: 0.7891 MB / 0.9653 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.6524, allocations: 55.62 kB / 0.9653 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.6526, allocations: 111.3 kB / 0.9654 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.6526, allocations: 3.938 kB / 0.9654 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.6792, allocations: 7.059 MB / 0.9723 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.496, allocations: 5.5 kB / 0.9723 GB, free: 9.941 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches