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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 185 kB / 24.09 MB, free: 412 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9109/0.9109, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 1.094 kB / 0.7876 GB, free: 11.08 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/2e-05, allocations: 4 kB / 0.7876 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002846/0.002866, allocations: 2.032 MB / 0.7896 GB, free: 9.047 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.004465, allocations: 1.298 MB / 0.7908 GB, free: 7.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.004586, allocations: 3.938 kB / 0.7908 GB, free: 7.746 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.004967, allocations: 155.3 kB / 0.791 GB, free: 7.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.005381, allocations: 224.6 kB / 0.7912 GB, free: 7.375 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.005706, allocations: 167.4 kB / 0.7913 GB, free: 7.211 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.006037, allocations: 347 kB / 0.7917 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006149, allocations: 33.52 kB / 0.7917 GB, free: 6.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006019/0.006751, allocations: 267.2 kB / 0.792 GB, free: 6.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.006919, allocations: 132.6 kB / 0.7921 GB, free: 6.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.006945, allocations: 16 kB / 0.7921 GB, free: 6.473 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.007051, allocations: 57.44 kB / 0.7922 GB, free: 6.418 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.007133, allocations: 107.6 kB / 0.7923 GB, free: 6.312 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.00719, allocations: 67.72 kB / 0.7923 GB, free: 6.246 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.007469, allocations: 255 kB / 0.7926 GB, free: 5.996 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.007471, allocations: 0.9688 kB / 0.7926 GB, free: 5.996 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-07/0.007471, allocations: 0 / 0.7926 GB, free: 5.996 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.007475, allocations: 0 / 0.7926 GB, free: 5.996 MB / 0.698 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.000587/0.008062, allocations: 0.6705 MB / 0.7932 GB, free: 5.289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.008095, allocations: 14.58 kB / 0.7932 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.008152, allocations: 40.7 kB / 0.7933 GB, free: 5.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.008408, allocations: 305.4 kB / 0.7936 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.008425, allocations: 4.375 kB / 0.7936 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.008441, allocations: 15.94 kB / 0.7936 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.008574, allocations: 92.58 kB / 0.7937 GB, free: 4.797 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.00858, allocations: 0.5312 kB / 0.7937 GB, free: 4.797 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.00859, allocations: 8.703 kB / 0.7937 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.008596, allocations: 4 kB / 0.7937 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.008641, allocations: 28.44 kB / 0.7937 GB, free: 4.758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.009067, allocations: 389.6 kB / 0.7941 GB, free: 4.352 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.009192, allocations: 91.78 kB / 0.7942 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.009226, allocations: 28.27 kB / 0.7942 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.009238, allocations: 0.7812 kB / 0.7942 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.926e-05/0.009337, allocations: 92.98 kB / 0.7943 GB, free: 4.113 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.009339, allocations: 1.156 kB / 0.7943 GB, free: 4.113 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002212/0.00956, allocations: 173.6 kB / 0.7945 GB, free: 3.941 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.009586, allocations: 55.41 kB / 0.7945 GB, free: 3.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.009868, allocations: 442.4 kB / 0.7949 GB, free: 3.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.009887, allocations: 29.7 kB / 0.795 GB, free: 3.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.009989, allocations: 229.1 kB / 0.7952 GB, free: 3.164 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.01002, allocations: 39.69 kB / 0.7952 GB, free: 3.125 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.01009, allocations: 79.58 kB / 0.7953 GB, free: 3.035 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.01023, allocations: 0.5312 MB / 0.7958 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.01027, allocations: 32.53 kB / 0.7958 GB, free: 2.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/0.01034, allocations: 81.14 kB / 0.7959 GB, free: 2.371 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.01044, allocations: 103.8 kB / 0.796 GB, free: 2.258 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01044, allocations: 1.469 kB / 0.796 GB, free: 2.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002015/0.01064, allocations: 203.1 kB / 0.7962 GB, free: 2.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.01065, allocations: 4 kB / 0.7962 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01066, allocations: 9 kB / 0.7962 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.01067, allocations: 0 / 0.7962 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.01079, allocations: 53.91 kB / 0.7963 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.0108, allocations: 0 / 0.7963 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.01086, allocations: 23.83 kB / 0.7963 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.01088, allocations: 11.98 kB / 0.7963 GB, free: 1.957 MB / 0.698 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 9.735e-05/0.01098, allocations: 180.5 kB / 0.7965 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.01101, allocations: 38.11 kB / 0.7965 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.01119, allocations: 152.8 kB / 0.7967 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01119, allocations: 4 kB / 0.7967 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.0112, allocations: 0 / 0.7967 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.0112, allocations: 0.5 kB / 0.7967 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.01134, allocations: 200.9 kB / 0.7969 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01134, allocations: 0.5312 kB / 0.7969 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.01138, allocations: 13.94 kB / 0.7969 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01138, allocations: 4 kB / 0.7969 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.01139, allocations: 3.984 kB / 0.7969 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01139, allocations: 0 / 0.7969 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01139, allocations: 0 / 0.7969 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.01155, allocations: 200.9 kB / 0.7971 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.01158, allocations: 39.75 kB / 0.7971 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.0116, allocations: 0.75 kB / 0.7971 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.01165, allocations: 11.98 kB / 0.7971 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.01169, allocations: 20.75 kB / 0.7971 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.0117, allocations: 4 kB / 0.7972 GB, free: 1.039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001349/0.01183, allocations: 266.2 kB / 0.7974 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01183, allocations: 4 kB / 0.7974 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001818/0.01202, allocations: 55.94 kB / 0.7975 GB, free: 0.7227 MB / 0.698 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0007705/0.01279, allocations: 408.5 kB / 0.7979 GB, free: 484 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001657/0.01295, allocations: 115.7 kB / 0.798 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01295, allocations: 0.6562 kB / 0.798 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/0.01301, allocations: 47.83 kB / 0.798 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.01328, allocations: 108.8 kB / 0.7981 GB, free: 216 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.0138, allocations: 477 kB / 0.7986 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.692e-05/0.01386, allocations: 104.6 kB / 0.7987 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.01394, allocations: 46.95 kB / 0.7987 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.01408, allocations: 138.2 kB / 0.7988 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.01408, allocations: 0 / 0.7988 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.00636/0.02044, allocations: 4.884 MB / 0.8036 GB, free: 10.62 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.734637971967459]