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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001224/0.001224, allocations: 103.9 kB / 16.41 MB, free: 5.973 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.00132/0.00132, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.89 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.8994, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003402/0.9029, allocations: 1.99 MB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.9049, allocations: 1.2 MB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.905, allocations: 7.281 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.9055, allocations: 155.3 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.9059, allocations: 153.7 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.9065, allocations: 224.8 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004165/0.9069, allocations: 316.5 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.9071, allocations: 47.94 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/0.9074, allocations: 152.4 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.9076, allocations: 148.9 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.9076, allocations: 14.66 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.9078, allocations: 62.91 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.9079, allocations: 87.36 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.9081, allocations: 131.6 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.9086, allocations: 372.4 kB / 1.094 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9086, allocations: 0 / 1.094 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9086, allocations: 0 / 1.094 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.9086, allocations: 0.9375 kB / 1.094 GB, free: 2.488 MB / 0.8575 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.0009626/0.9096, allocations: 0.6202 MB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.9096, allocations: 10.25 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.9097, allocations: 39.66 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.9102, allocations: 367.6 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.9102, allocations: 8.469 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.9103, allocations: 6.375 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.9105, allocations: 114.2 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9106, allocations: 0 / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.9106, allocations: 1.922 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.9106, allocations: 1.625 kB / 1.095 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.9108, allocations: 66.75 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007923/0.9116, allocations: 498.2 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.912, allocations: 132 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.9121, allocations: 55 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.9121, allocations: 2.859 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.9124, allocations: 108.4 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.9124, allocations: 0.875 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005782/0.913, allocations: 225 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.913, allocations: 53.8 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.9138, allocations: 0.5135 MB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.9138, allocations: 31.14 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.9139, allocations: 167.5 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.9139, allocations: 33.8 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.9141, allocations: 74.14 kB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/0.9142, allocations: 348.8 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9144, allocations: 101.2 kB / 1.097 GB, free: 56 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.9147, allocations: 135.5 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.9151, allocations: 185 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9151, allocations: 0.875 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006095/0.9157, allocations: 313.6 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9158, allocations: 16 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9158, allocations: 5.031 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.9158, allocations: 1.828 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.916, allocations: 49.64 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.916, allocations: 2.953 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.9162, allocations: 23.98 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.9162, allocations: 13.33 kB / 1.098 GB, free: 15.74 MB / 0.8731 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.000187/0.9164, allocations: 175.6 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.9165, allocations: 38.69 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.947e-05/0.9166, allocations: 42.7 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.9166, allocations: 1.062 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9166, allocations: 1.031 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.9166, allocations: 9.391 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.9169, allocations: 298.5 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9169, allocations: 1.625 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.917, allocations: 11.47 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.917, allocations: 5.062 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.9171, allocations: 3.328 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9171, allocations: 4.703 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9171, allocations: 1.125 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.9175, allocations: 203.1 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.9176, allocations: 116.8 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.9176, allocations: 6.469 kB / 1.099 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.9177, allocations: 9.734 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.9178, allocations: 20.72 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.9179, allocations: 11.69 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004031/0.9183, allocations: 317.2 kB / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9183, allocations: 0 / 1.099 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003181/0.9186, allocations: 53.95 kB / 1.099 GB, free: 14.89 MB / 0.8731 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.001025/0.9196, allocations: 423.1 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.9201, allocations: 190.8 kB / 1.1 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9201, allocations: 4.125 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.9203, allocations: 66.94 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.9208, allocations: 80.91 kB / 1.1 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.9217, allocations: 0.5579 MB / 1.1 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.9222, allocations: 0.7863 MB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.9223, allocations: 35.11 kB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of SimCode: time 4.01e-07/0.9223, allocations: 0 / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.009922/0.9322, allocations: 4.435 MB / 1.105 GB, free: 13 MB / 0.8731 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 -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