Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2642, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003222/0.2675, allocations: 1.997 MB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2694, allocations: 1.193 MB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2696, allocations: 7.938 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.27, allocations: 155.5 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.2704, allocations: 159.3 kB / 1.17 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.2709, allocations: 223.4 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000413/0.2713, allocations: 323.1 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2715, allocations: 44.38 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.2717, allocations: 151.4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.2719, allocations: 147.4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.272, allocations: 16 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.2721, allocations: 63.95 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.2723, allocations: 91.62 kB / 1.171 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2724, allocations: 119.2 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.2728, allocations: 370.6 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2728, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2728, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.2728, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 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.001043/0.2739, allocations: 0.6416 MB / 1.172 GB, free: 1.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2739, allocations: 8.031 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.274, allocations: 38.75 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.467e-05/0.2741, allocations: 40.73 kB / 1.172 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.2746, allocations: 382 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2746, allocations: 8 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2747, allocations: 11.94 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2749, allocations: 101.6 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.275, allocations: 4 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.275, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.275, allocations: 7.984 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.2752, allocations: 63.88 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.276, allocations: 496.4 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.2764, allocations: 138.7 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2765, allocations: 48.83 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2765, allocations: 4 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.2767, allocations: 111.3 kB / 1.173 GB, free: 28 kB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.2768, allocations: 4 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005775/0.2773, allocations: 225.3 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.2774, allocations: 59.41 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.2779, allocations: 0.5015 MB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2779, allocations: 29.7 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.2781, allocations: 176.4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2781, allocations: 31.75 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2782, allocations: 73.91 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2783, allocations: 350.8 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.2785, allocations: 104.5 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.2788, allocations: 135.6 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.2791, allocations: 180 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2791, allocations: 4 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005445/0.2797, allocations: 317.3 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2797, allocations: 11.94 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2797, allocations: 0 / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.2797, allocations: 4 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.28, allocations: 51.91 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.28, allocations: 4 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2801, allocations: 11.95 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2802, allocations: 16.05 kB / 1.175 GB, free: 13.7 MB / 0.9356 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.0001642/0.2803, allocations: 188 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2804, allocations: 39.7 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.2805, allocations: 39.12 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2805, allocations: 0 / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2805, allocations: 0 / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2805, allocations: 0 / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.2807, allocations: 297.5 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2807, allocations: 7.938 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.2808, allocations: 15.98 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2808, allocations: 7.938 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2809, allocations: 4 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2809, allocations: 0 / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2809, allocations: 0 / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.2812, allocations: 212.8 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.2814, allocations: 112.9 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.2814, allocations: 11.98 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2815, allocations: 4 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2816, allocations: 19.97 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2816, allocations: 8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003158/0.2819, allocations: 319.1 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2819, allocations: 3.938 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002889/0.2822, allocations: 55.89 kB / 1.177 GB, free: 12.29 MB / 0.9356 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.001427/0.2837, allocations: 1.066 MB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.2841, allocations: 195.8 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2841, allocations: 0 / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.2842, allocations: 63.91 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.2847, allocations: 94.91 kB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.2883, allocations: 3.112 MB / 1.181 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2887, allocations: 0.787 MB / 1.182 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.2888, allocations: 58.88 kB / 1.182 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.289, allocations: 107.4 kB / 1.182 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of SimCode: time 4.51e-07/0.289, allocations: 0 / 1.182 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.3124, allocations: 7.151 MB / 1.189 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.227, allocations: 17.05 kB / 1.189 GB, free: 15.81 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches