Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001023/0.001023, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001041/0.001041, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8125, allocations: 153.6 MB / 1.021 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002553/0.815, allocations: 1.657 MB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.817, allocations: 1.101 MB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.8172, allocations: 7.938 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.8177, allocations: 135.6 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.8181, allocations: 127.7 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.8186, allocations: 182.4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.819, allocations: 199.6 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.8191, allocations: 36.38 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.8194, allocations: 131.5 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.8196, allocations: 111.6 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.8196, allocations: 4 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.8197, allocations: 47.84 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.8199, allocations: 75.78 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.82, allocations: 69.52 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.8204, allocations: 285.3 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8204, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.117e-06/0.8204, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.8204, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 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.001199/0.8216, allocations: 0.5756 MB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.8217, allocations: 15.98 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.658e-05/0.8218, allocations: 31.62 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.8224, allocations: 361.3 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.8225, allocations: 8 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.8225, allocations: 7.953 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.8228, allocations: 113.5 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.8228, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.8229, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.8229, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.8231, allocations: 69.92 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.824, allocations: 496.3 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.8244, allocations: 142.7 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.8244, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.8247, allocations: 111.3 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.8247, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005898/0.8253, allocations: 220.1 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.8254, allocations: 55.41 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.826, allocations: 0.5092 MB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.8261, allocations: 25.7 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.8262, allocations: 168.4 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.8263, allocations: 39.53 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.8263, allocations: 8 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.8266, allocations: 350.8 kB / 1.028 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.8268, allocations: 96.52 kB / 1.028 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.827, allocations: 139.5 kB / 1.028 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.8273, allocations: 99.98 kB / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.8273, allocations: 224 / 1.028 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005721/0.8278, allocations: 322.1 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.8279, allocations: 7.938 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.8279, allocations: 8.062 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.8279, allocations: 0 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.8282, allocations: 51.91 kB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.8282, allocations: 0 / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.8284, allocations: 23.83 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.8284, allocations: 12 kB / 1.029 GB, free: 8.777 MB / 0.7794 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.8287, allocations: 181.7 kB / 1.029 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.8287, allocations: 39.61 kB / 1.029 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.028e-05/0.8288, allocations: 39.12 kB / 1.029 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8288, allocations: 0 / 1.029 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.8288, allocations: 0 / 1.029 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8289, allocations: 0 / 1.029 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.8292, allocations: 305.3 kB / 1.029 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8292, allocations: 0 / 1.029 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.8293, allocations: 8 kB / 1.029 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.8293, allocations: 4 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.8293, allocations: 7.984 kB / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8293, allocations: 0 / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.8294, allocations: 4 kB / 1.029 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.8298, allocations: 212.5 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.8299, allocations: 116.7 kB / 1.03 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.83, allocations: 3.984 kB / 1.03 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.8301, allocations: 8 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.8302, allocations: 19.97 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.8302, allocations: 4 kB / 1.03 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003456/0.8305, allocations: 319.1 kB / 1.03 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8306, allocations: 0 / 1.03 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003197/0.8309, allocations: 67.83 kB / 1.03 GB, free: 7.371 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001123/0.832, allocations: 405.9 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004012/0.8324, allocations: 192.3 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8324, allocations: 128 / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.8326, allocations: 63.91 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.833, allocations: 77.45 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.834, allocations: 0.5892 MB / 1.031 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.8344, allocations: 0.7948 MB / 1.032 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.8346, allocations: 54.92 kB / 1.032 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.8347, allocations: 31.42 kB / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.8347, allocations: 0 / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of Templates: time 0.007762/0.8424, allocations: 3.742 MB / 1.036 GB, free: 1.578 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches