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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001858/0.001859, allocations: 194.3 kB / 17.3 MB, free: 5.52 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.213/2.213, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 66.58 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2492, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003489/0.2527, allocations: 1.994 MB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.2547, allocations: 1.193 MB / 0.9542 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2549, allocations: 3.938 kB / 0.9542 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.2553, allocations: 167.4 kB / 0.9544 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.2556, allocations: 155.3 kB / 0.9546 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.2561, allocations: 226.5 kB / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.2565, allocations: 319.2 kB / 0.9551 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2567, allocations: 56.28 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.2569, allocations: 139.5 kB / 0.9553 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.2571, allocations: 143.4 kB / 0.9554 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.2571, allocations: 16 kB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2572, allocations: 63.89 kB / 0.9555 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.2574, allocations: 79.75 kB / 0.9556 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.2575, allocations: 123.2 kB / 0.9557 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.2579, allocations: 370.6 kB / 0.956 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.258, allocations: 4 kB / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.258, allocations: 0 / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.258, allocations: 4 kB / 0.956 GB, free: 2.996 MB / 0.7325 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.0009568/0.2589, allocations: 0.6109 MB / 0.9566 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.259, allocations: 11.97 kB / 0.9566 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.2591, allocations: 36.47 kB / 0.9567 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.2596, allocations: 374.2 kB / 0.957 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2596, allocations: 8 kB / 0.957 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.2596, allocations: 12 kB / 0.957 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.2599, allocations: 111.5 kB / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2599, allocations: 0 / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2599, allocations: 0 / 0.9572 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2599, allocations: 4 kB / 0.9572 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.2601, allocations: 67.89 kB / 0.9572 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.2609, allocations: 492.4 kB / 0.9577 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2612, allocations: 138.7 kB / 0.9578 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2613, allocations: 48.84 kB / 0.9579 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.2614, allocations: 3.984 kB / 0.9579 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.2616, allocations: 115.5 kB / 0.958 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.2616, allocations: 3.938 kB / 0.958 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005375/0.2622, allocations: 221 kB / 0.9582 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2622, allocations: 59.41 kB / 0.9583 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.2628, allocations: 0.5015 MB / 0.9587 GB, free: 20 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.2628, allocations: 33.7 kB / 0.9588 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2629, allocations: 164.4 kB / 0.9589 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.263, allocations: 39.53 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.2631, allocations: 69.97 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2632, allocations: 346.8 kB / 0.9594 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.2634, allocations: 100.5 kB / 0.9595 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.2637, allocations: 131.6 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.264, allocations: 184 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.264, allocations: 0 / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005413/0.2645, allocations: 321.1 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2646, allocations: 4 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2646, allocations: 3.938 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2646, allocations: 7.984 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2649, allocations: 51.91 kB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2649, allocations: 4.062 kB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.265, allocations: 23.83 kB / 0.9602 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.2651, allocations: 8 kB / 0.9602 GB, free: 14.51 MB / 0.7481 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.0001789/0.2652, allocations: 183.7 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.2653, allocations: 31.61 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.233e-05/0.2654, allocations: 47.06 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2654, allocations: 0 / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2654, allocations: 0 / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2654, allocations: 4 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.2657, allocations: 305.3 kB / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2657, allocations: 0 / 0.9607 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.2658, allocations: 12 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2658, allocations: 0 / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.2658, allocations: 11.92 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2658, allocations: 7.938 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2658, allocations: 3.938 kB / 0.9608 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.2662, allocations: 208.6 kB / 0.961 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.2663, allocations: 108.7 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.2664, allocations: 11.94 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.2665, allocations: 7.984 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.2666, allocations: 11.98 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.2666, allocations: 15.98 kB / 0.9611 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003444/0.2669, allocations: 311.1 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2669, allocations: 0 / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002965/0.2672, allocations: 59.92 kB / 0.9615 GB, free: 13.1 MB / 0.7481 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.0009618/0.2682, allocations: 409.7 kB / 0.9618 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.2686, allocations: 191.8 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2686, allocations: 0 / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2688, allocations: 63.91 kB / 0.9621 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.2693, allocations: 101 kB / 0.9622 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007811/0.27, allocations: 0.532 MB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2704, allocations: 0.7945 MB / 0.9635 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.2705, allocations: 54.94 kB / 0.9635 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.2706, allocations: 35.42 kB / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2706, allocations: 0 / 0.9636 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of Templates: time 0.008002/0.2786, allocations: 4.063 MB / 0.9675 GB, free: 7.023 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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