Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005462/0.005462, allocations: 98.33 kB / 15.73 MB, free: 6.051 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.001185/0.001185, allocations: 188.9 kB / 16.67 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7425 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 71.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9288/0.93, allocations: 159.1 MB / 1.221 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003372/0.9334, allocations: 2.011 MB / 1.223 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.9353, allocations: 1.205 MB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.9354, allocations: 7.938 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.9359, allocations: 155.5 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.9362, allocations: 163.3 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.9367, allocations: 223 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00035/0.937, allocations: 311.2 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.9372, allocations: 32.39 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.9374, allocations: 159.4 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.9376, allocations: 147.4 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.9376, allocations: 12 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.9378, allocations: 63.97 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.9379, allocations: 87.67 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.938, allocations: 119.2 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.9384, allocations: 375.3 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.9384, allocations: 4 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9384, allocations: 0 / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.9384, allocations: 0 / 1.226 GB, free: 13.24 MB / 0.9512 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.0009333/0.9393, allocations: 0.6339 MB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9394, allocations: 8.031 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.9394, allocations: 36.7 kB / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.9399, allocations: 378.3 kB / 1.227 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.9399, allocations: 12 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.9399, allocations: 15.98 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.9402, allocations: 105.5 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9402, allocations: 0 / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9402, allocations: 4 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9402, allocations: 3.938 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.9404, allocations: 59.95 kB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.9411, allocations: 496.5 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.9414, allocations: 126.7 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.9415, allocations: 48.81 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.9416, allocations: 7.984 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.9418, allocations: 115.3 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.9418, allocations: 3.938 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005089/0.9423, allocations: 230 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.9423, allocations: 51.41 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.9428, allocations: 0.5132 MB / 1.228 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.9429, allocations: 25.7 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.943, allocations: 168.5 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.943, allocations: 39.69 kB / 1.228 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.9431, allocations: 69.95 kB / 1.229 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9432, allocations: 346.8 kB / 1.229 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.9434, allocations: 100.5 kB / 1.229 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.9436, allocations: 135.6 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.9439, allocations: 187 kB / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9439, allocations: 0 / 1.229 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004903/0.9444, allocations: 321.2 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9444, allocations: 11.94 kB / 1.23 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9444, allocations: 0 / 1.23 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.9445, allocations: 3.984 kB / 1.23 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.9447, allocations: 51.98 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.9447, allocations: 3.984 kB / 1.23 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.9448, allocations: 19.89 kB / 1.23 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.9448, allocations: 12 kB / 1.23 GB, free: 8.715 MB / 0.9512 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.0001657/0.945, allocations: 181.7 kB / 1.23 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.9451, allocations: 43.7 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.9451, allocations: 35.12 kB / 1.23 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9451, allocations: 0 / 1.23 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9451, allocations: 4 kB / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.9451, allocations: 0 / 1.23 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.9454, allocations: 297.5 kB / 1.23 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9454, allocations: 0 / 1.23 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.9454, allocations: 11.98 kB / 1.23 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.9454, allocations: 7.938 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.9455, allocations: 4 kB / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.9455, allocations: 0 / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.9455, allocations: 0 / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.9458, allocations: 217.8 kB / 1.23 GB, free: 7.855 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/0.9459, allocations: 112.9 kB / 1.231 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.9459, allocations: 11.92 kB / 1.231 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.946, allocations: 8 kB / 1.231 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.9461, allocations: 23.97 kB / 1.231 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.9461, allocations: 4 kB / 1.231 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000318/0.9464, allocations: 315.1 kB / 1.231 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9464, allocations: 0 / 1.231 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000283/0.9467, allocations: 67.83 kB / 1.231 GB, free: 7.305 MB / 0.9512 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.0009945/0.9477, allocations: 415.6 kB / 1.231 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.9481, allocations: 188 kB / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9481, allocations: 0 / 1.232 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.9482, allocations: 51.97 kB / 1.232 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.9487, allocations: 100.8 kB / 1.232 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.9495, allocations: 0.5383 MB / 1.232 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.9498, allocations: 0.7792 MB / 1.233 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000122/0.95, allocations: 54.94 kB / 1.233 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.95, allocations: 35.42 kB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.95, allocations: 0 / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.008397/0.9584, allocations: 4.095 MB / 1.237 GB, free: 1.215 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches