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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001171/0.001171, allocations: 193.1 kB / 16.14 MB, free: 6.719 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5699, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002824/0.5728, allocations: 2.033 MB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.5743, allocations: 1.185 MB / 0.9522 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.5745, allocations: 10.38 kB / 0.9522 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.5748, allocations: 147.2 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.5751, allocations: 145.9 kB / 0.9525 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.5755, allocations: 204.6 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.5757, allocations: 294.1 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.5759, allocations: 47.03 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.576, allocations: 127.7 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.5762, allocations: 144.3 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.5762, allocations: 6.125 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.5763, allocations: 53.17 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.662e-05/0.5764, allocations: 81.45 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.5765, allocations: 118.6 kB / 0.9535 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.5768, allocations: 356.9 kB / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5768, allocations: 0 / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5768, allocations: 0 / 0.9539 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.5768, allocations: 0 / 0.9539 GB, free: 5.551 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.0006951/0.5775, allocations: 0.6178 MB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5775, allocations: 9.594 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.5776, allocations: 41 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.5776, allocations: 35.78 kB / 0.9545 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.578, allocations: 374.9 kB / 0.9549 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.578, allocations: 8.625 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.578, allocations: 5.594 kB / 0.9549 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.5782, allocations: 117.3 kB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5782, allocations: 3.984 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5783, allocations: 1.031 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5783, allocations: 2.281 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.5784, allocations: 63.08 kB / 0.9551 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.579, allocations: 495.5 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.5793, allocations: 144.6 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.67e-05/0.5794, allocations: 45.41 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.5794, allocations: 7.219 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.5796, allocations: 115.3 kB / 0.9559 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.5796, allocations: 0 / 0.9559 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004331/0.5801, allocations: 223.5 kB / 0.9561 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.5801, allocations: 53.06 kB / 0.9561 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.5805, allocations: 0.5066 MB / 0.9566 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.5805, allocations: 36.44 kB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.5806, allocations: 160.9 kB / 0.9568 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.5807, allocations: 42.36 kB / 0.9569 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.5807, allocations: 65.47 kB / 0.9569 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.5808, allocations: 352.4 kB / 0.9573 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.581, allocations: 96.89 kB / 0.9573 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.5812, allocations: 135.5 kB / 0.9575 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.5814, allocations: 174.8 kB / 0.9576 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.5814, allocations: 4.844 kB / 0.9576 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004668/0.5819, allocations: 328.1 kB / 0.958 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5819, allocations: 9.25 kB / 0.958 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5819, allocations: 1.25 kB / 0.958 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.582, allocations: 1.25 kB / 0.958 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5822, allocations: 50.38 kB / 0.958 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5822, allocations: 2.188 kB / 0.958 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5823, allocations: 21.36 kB / 0.958 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.5823, allocations: 20.53 kB / 0.9581 GB, free: 2.316 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.000126/0.5825, allocations: 179.4 kB / 0.9582 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.5825, allocations: 33.69 kB / 0.9583 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.5826, allocations: 37.95 kB / 0.9583 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5826, allocations: 0.9688 kB / 0.9583 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5826, allocations: 1.094 kB / 0.9583 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.5826, allocations: 0 / 0.9583 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.5828, allocations: 301 kB / 0.9586 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5828, allocations: 0 / 0.9586 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.5829, allocations: 17.25 kB / 0.9586 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5829, allocations: 5.156 kB / 0.9586 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5829, allocations: 5.297 kB / 0.9586 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5829, allocations: 1.375 kB / 0.9586 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5829, allocations: 3.984 kB / 0.9586 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.5832, allocations: 204.8 kB / 0.9588 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.5833, allocations: 121.8 kB / 0.9589 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.5833, allocations: 10.19 kB / 0.9589 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.5834, allocations: 11.52 kB / 0.959 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.5835, allocations: 19.08 kB / 0.959 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.5835, allocations: 9.453 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002731/0.5838, allocations: 311.3 kB / 0.9593 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5838, allocations: 3.938 kB / 0.9593 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002668/0.5841, allocations: 61.05 kB / 0.9593 GB, free: 1.328 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.001225/0.5853, allocations: 1.054 MB / 0.9604 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.5856, allocations: 197.3 kB / 0.9606 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5856, allocations: 3.938 kB / 0.9606 GB, free: 480 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.5858, allocations: 55.06 kB / 0.9606 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.5862, allocations: 85.36 kB / 0.9607 GB, free: 420 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.5897, allocations: 3.184 MB / 0.9638 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.59, allocations: 0.7893 MB / 0.9646 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.5902, allocations: 51.55 kB / 0.9646 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5903, allocations: 111 kB / 0.9647 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of SimCode: time 4.01e-07/0.5903, allocations: 0 / 0.9647 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.6942, allocations: 6.748 MB / 0.9713 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/0.6945, allocations: 238.4 kB / 0.9715 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.775, allocations: 4.688 kB / 0.9716 GB, free: 9.895 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