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.004646/0.004646, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001333/0.001334, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.382/2.382, allocations: 437.1 MB / 0.7106 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 75.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2485, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003202/0.2518, allocations: 1.997 MB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2537, allocations: 1.197 MB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2538, allocations: 3.938 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.2542, allocations: 163.4 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.2546, allocations: 155.4 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.2551, allocations: 223.4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.2554, allocations: 311.2 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.2556, allocations: 60.3 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.2558, allocations: 135.5 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.256, allocations: 143.5 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.256, allocations: 16 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.2561, allocations: 59.91 kB / 1.171 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2563, allocations: 87.73 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2564, allocations: 127.1 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.2568, allocations: 366.6 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2568, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2568, allocations: 4 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2568, allocations: 4 kB / 1.171 GB, free: 2.184 MB / 0.92 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.0008534/0.2577, allocations: 0.6299 MB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.2577, allocations: 12.03 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.2577, allocations: 34.75 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.2578, allocations: 32.75 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.2583, allocations: 390 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2583, allocations: 11.98 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2583, allocations: 8 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.2586, allocations: 105.6 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.2586, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2586, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2586, allocations: 4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.2588, allocations: 63.8 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.2595, allocations: 0.4887 MB / 1.173 GB, free: 272 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.2598, allocations: 138.6 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2599, allocations: 52.83 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2599, allocations: 4 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.2602, allocations: 115 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 3.366e-06/0.2602, allocations: 0 / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0004878/0.2607, allocations: 225.3 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2607, allocations: 51.41 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.2613, allocations: 0.5093 MB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.2613, allocations: 29.7 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.2614, allocations: 164.4 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2615, allocations: 43.64 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2616, allocations: 73.91 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2617, allocations: 346.8 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.2619, allocations: 108.5 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2622, allocations: 131.6 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.2625, allocations: 187.4 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2625, allocations: 0 / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005124/0.263, allocations: 317.3 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.263, allocations: 14.12 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.263, allocations: 3.984 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2631, allocations: 0 / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2633, allocations: 47.98 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2633, allocations: 7.984 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2634, allocations: 15.95 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.2634, allocations: 15.98 kB / 1.175 GB, free: 13.61 MB / 0.9356 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.0001678/0.2636, allocations: 185.6 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.2637, allocations: 39.7 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.2637, allocations: 35.11 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2637, allocations: 4 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2637, allocations: 0 / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2637, allocations: 4 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.264, allocations: 301.5 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.264, allocations: 0 / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.2641, allocations: 15.92 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.2641, allocations: 3.938 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2641, allocations: 4 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2641, allocations: 0 / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2641, allocations: 0 / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.2645, allocations: 212.8 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.2646, allocations: 116.9 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.2646, allocations: 3.984 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.2647, allocations: 11.94 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.2648, allocations: 19.97 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2648, allocations: 8 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000322/0.2651, allocations: 315.1 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2651, allocations: 0 / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002624/0.2654, allocations: 59.89 kB / 1.177 GB, free: 12.21 MB / 0.9356 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.001887/0.2673, allocations: 1.062 MB / 1.178 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.2677, allocations: 195.8 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2677, allocations: 4.125 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.2679, allocations: 63.91 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2683, allocations: 89.12 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.2718, allocations: 3.12 MB / 1.181 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2722, allocations: 0.7831 MB / 1.182 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.2724, allocations: 50.95 kB / 1.182 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.2725, allocations: 107.4 kB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2725, allocations: 3.938 kB / 1.182 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8035/1.076, allocations: 7.15 MB / 1.189 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.076/10.15, allocations: 10.12 kB / 1.189 GB, free: 15.75 MB / 0.9512 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=400 --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