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.0009199/0.0009198, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005758/0.005758, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.272/1.272, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.291/2.291, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 15.98 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.505/0.5053, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00188/0.5072, allocations: 1.7 MB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.5088, allocations: 1.17 MB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.5089, allocations: 7.938 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.5092, allocations: 151.6 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.5094, allocations: 135.6 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.5098, allocations: 195.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.5101, allocations: 295.1 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.5102, allocations: 48.28 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.5104, allocations: 127.4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.5106, allocations: 143.4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.5106, allocations: 4 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.5107, allocations: 47.98 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.5108, allocations: 83.72 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.5109, allocations: 140.8 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.5112, allocations: 345 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5112, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5112, allocations: 3.938 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5112, allocations: 3.938 kB / 1.028 GB, free: 11.24 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.0007249/0.512, allocations: 0.566 MB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.512, allocations: 12.03 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.512, allocations: 42.73 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.5121, allocations: 40.44 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.5125, allocations: 370 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5125, allocations: 8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.5126, allocations: 8 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.5128, allocations: 103.8 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5128, allocations: 3.984 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5128, allocations: 0 / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5128, allocations: 8 kB / 1.029 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.513, allocations: 63.91 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006471/0.5136, allocations: 0.4886 MB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.5139, allocations: 134.7 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.514, allocations: 52.83 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.5141, allocations: 4 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.5143, allocations: 110.8 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.5143, allocations: 7.938 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004397/0.5147, allocations: 217.3 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.5148, allocations: 59.39 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.5153, allocations: 0.5053 MB / 1.03 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.5153, allocations: 29.7 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5154, allocations: 168.4 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.5154, allocations: 39.53 kB / 1.031 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.5155, allocations: 37.7 kB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5156, allocations: 350.8 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.5158, allocations: 96.52 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.516, allocations: 135.6 kB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.5163, allocations: 178.5 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5163, allocations: 0 / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004691/0.5168, allocations: 326.6 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.5168, allocations: 7.938 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5168, allocations: 0 / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.5168, allocations: 4 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.517, allocations: 51.91 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.517, allocations: 0 / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.5172, allocations: 23.91 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.5172, allocations: 19.97 kB / 1.032 GB, free: 6.777 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.0001502/0.5173, allocations: 189.6 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.5174, allocations: 35.56 kB / 1.032 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.5174, allocations: 31.12 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5175, allocations: 4 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.5175, allocations: 0 / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5175, allocations: 3.984 kB / 1.032 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.5177, allocations: 289.5 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5177, allocations: 4 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.5178, allocations: 23.91 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5178, allocations: 3.938 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5178, allocations: 4 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5178, allocations: 0 / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5178, allocations: 0 / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.5181, allocations: 208.5 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.5182, allocations: 120.7 kB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.5183, allocations: 7.938 kB / 1.033 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.5184, allocations: 11.98 kB / 1.033 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.5184, allocations: 15.98 kB / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5184, allocations: 7.984 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002996/0.5187, allocations: 315.1 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5188, allocations: 0 / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002506/0.519, allocations: 59.98 kB / 1.033 GB, free: 5.375 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.001314/0.5203, allocations: 1.074 MB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.5207, allocations: 188.1 kB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5207, allocations: 0 / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.5208, allocations: 64.02 kB / 1.034 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.5212, allocations: 82.16 kB / 1.034 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.5247, allocations: 3.171 MB / 1.037 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.525, allocations: 0.7909 MB / 1.038 GB, free: 28 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.5251, allocations: 47.02 kB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.5253, allocations: 111.3 kB / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5253, allocations: 0 / 1.038 GB, free: 15.87 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.558/2.084, allocations: 6.52 MB / 1.045 GB, free: 9.516 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/2.084, allocations: 239.8 kB / 1.045 GB, free: 9.266 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/4.028, allocations: 0 / 1.045 GB, free: 9.266 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