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.001656/0.001656, allocations: 108.4 kB / 16.37 MB, free: 6.012 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.002111/0.002111, allocations: 194.6 kB / 17.31 MB, free: 5.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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.17 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.428/2.428, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 62.61 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3401, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003999/0.3442, allocations: 1.997 MB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3462, allocations: 1.197 MB / 0.9543 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.3464, allocations: 3.938 kB / 0.9543 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.3468, allocations: 163.5 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.3472, allocations: 151.4 kB / 0.9546 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.3478, allocations: 231.3 kB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.3481, allocations: 311.2 kB / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.3483, allocations: 52.28 kB / 0.9551 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3485, allocations: 139.4 kB / 0.9553 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.3488, allocations: 151.4 kB / 0.9554 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.3488, allocations: 16 kB / 0.9554 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3489, allocations: 51.98 kB / 0.9555 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3491, allocations: 87.72 kB / 0.9556 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3492, allocations: 127.1 kB / 0.9557 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.3497, allocations: 362.7 kB / 0.956 GB, free: 3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3497, allocations: 8 kB / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3497, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.321e-06/0.3497, allocations: 0 / 0.956 GB, free: 2.992 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.001058/0.3508, allocations: 0.6185 MB / 0.9566 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3508, allocations: 12.03 kB / 0.9567 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.3509, allocations: 36.47 kB / 0.9567 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.3514, allocations: 370.2 kB / 0.957 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.3515, allocations: 12 kB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3515, allocations: 7.938 kB / 0.9571 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3517, allocations: 109.5 kB / 0.9572 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3518, allocations: 0 / 0.9572 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3518, allocations: 7.969 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3518, allocations: 4 kB / 0.9572 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.352, allocations: 59.97 kB / 0.9572 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.3528, allocations: 492.4 kB / 0.9577 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.3531, allocations: 134.8 kB / 0.9578 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3532, allocations: 56.77 kB / 0.9579 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3533, allocations: 0 / 0.9579 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.3535, allocations: 122.9 kB / 0.958 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.3535, allocations: 0 / 0.958 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005883/0.3541, allocations: 221.1 kB / 0.9582 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3542, allocations: 55.41 kB / 0.9583 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.3547, allocations: 0.5054 MB / 0.9588 GB, free: 12 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.3548, allocations: 33.7 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3549, allocations: 176.4 kB / 0.959 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.355, allocations: 31.55 kB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3551, allocations: 69.97 kB / 0.9591 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3552, allocations: 346.8 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3554, allocations: 100.5 kB / 0.9595 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.3557, allocations: 127.6 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.356, allocations: 180 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.356, allocations: 3.938 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000519/0.3565, allocations: 325.1 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3565, allocations: 6.031 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3565, allocations: 3.938 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3566, allocations: 4 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3568, allocations: 52.03 kB / 0.9602 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3568, allocations: 7.938 kB / 0.9602 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3569, allocations: 15.84 kB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.357, allocations: 11.98 kB / 0.9602 GB, free: 14.5 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.0001811/0.3572, allocations: 183.8 kB / 0.9604 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.3572, allocations: 31.56 kB / 0.9604 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.3573, allocations: 47 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3573, allocations: 0 / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3573, allocations: 4 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3573, allocations: 0 / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3576, allocations: 305.3 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3576, allocations: 0 / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.3577, allocations: 15.98 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3577, allocations: 0 / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.3577, allocations: 3.938 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3577, allocations: 0 / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3577, allocations: 4 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.3581, allocations: 208.7 kB / 0.961 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3582, allocations: 112.7 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.3583, allocations: 15.88 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.3584, allocations: 0 / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.3585, allocations: 19.97 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3585, allocations: 8 kB / 0.9611 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003609/0.3588, allocations: 319.1 kB / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3588, allocations: 3.938 kB / 0.9614 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002862/0.3591, allocations: 56 kB / 0.9615 GB, free: 13.09 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.001064/0.3602, allocations: 419.2 kB / 0.9619 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.3606, allocations: 187.9 kB / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3607, allocations: 0 / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.3608, allocations: 63.91 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.3613, allocations: 99.06 kB / 0.9622 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008981/0.3622, allocations: 0.5318 MB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3627, allocations: 0.7946 MB / 0.9635 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.3628, allocations: 50.95 kB / 0.9635 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.3629, allocations: 35.42 kB / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3629, allocations: 0 / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.00838/0.3713, allocations: 4.066 MB / 0.9675 GB, free: 7.016 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 cvode -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