Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 100.1 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.001322/0.001322, 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.469/1.469, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7574, allocations: 153.7 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.000724/0.7582, allocations: 271.8 kB / 1.021 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.082e-05/0.7582, allocations: 4 kB / 1.021 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.7583, allocations: 0 / 1.021 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.7583, allocations: 0 / 1.021 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.479e-05/0.7583, allocations: 4 kB / 1.021 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.919e-05/0.7584, allocations: 0 / 1.021 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.336e-05/0.7584, allocations: 4 kB / 1.021 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.7585, allocations: 3.938 kB / 1.021 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.7585, allocations: 3.984 kB / 1.021 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.7585, allocations: 0 / 1.021 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.7586, allocations: 3.938 kB / 1.021 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-06/0.7586, allocations: 0 / 1.021 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.7586, allocations: 0 / 1.021 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.7586, allocations: 25.7 kB / 1.021 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.403e-05/0.7587, allocations: 7.984 kB / 1.021 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7587, allocations: 4 kB / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7587, allocations: 0 / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.7587, allocations: 0 / 1.021 GB, free: 0.7695 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002959/0.759, allocations: 307.4 kB / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.759, allocations: 16.05 kB / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.7591, allocations: 0 / 1.021 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.7592, allocations: 167 kB / 1.022 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.7592, allocations: 0 / 1.022 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.7592, allocations: 0 / 1.022 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.7593, allocations: 41.59 kB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7593, allocations: 0 / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.7593, allocations: 0 / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.7594, allocations: 0 / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.392e-05/0.7594, allocations: 0 / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.7598, allocations: 383.5 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.7598, allocations: 173.1 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.7599, allocations: 75.28 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.7599, allocations: 113.9 kB / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7599, allocations: 0 / 1.022 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.068e-05/0.76, allocations: 25.7 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.7601, allocations: 126.7 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.7602, allocations: 101.8 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.7602, allocations: 25.7 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.7602, allocations: 84.14 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.7602, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-06/0.7603, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7604, allocations: 322.7 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.7604, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.7604, allocations: 0 / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.7604, allocations: 75.41 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/0.7604, allocations: 79.28 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.902e-05/0.7605, allocations: 37.59 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.7606, allocations: 79.28 kB / 1.023 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.7606, allocations: 83.2 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.478e-05/0.7606, allocations: 150.6 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.52e-05/0.7607, allocations: 79.28 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.343e-05/0.7607, allocations: 162.5 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.7608, allocations: 75.28 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.7608, allocations: 83.25 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001253/0.761, allocations: 260.4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.7611, allocations: 108.9 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.7612, allocations: 104.1 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-05/0.7612, allocations: 188.2 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.756e-05/0.7614, allocations: 180.3 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/0.7614, allocations: 180.2 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.7618, allocations: 397.2 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-05/0.7618, allocations: 109 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.7619, allocations: 108.9 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001464/0.762, allocations: 184.2 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/0.7621, allocations: 180.2 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.102e-05/0.7622, allocations: 180.3 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.875e-05/0.7622, allocations: 180.2 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.7624, allocations: 307.8 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.7625, allocations: 182.4 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.7625, allocations: 184.2 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.7626, allocations: 109 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.7627, allocations: 192.2 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.7628, allocations: 105 kB / 1.027 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.7628, allocations: 79.28 kB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7628, allocations: 0 / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000309/0.7631, allocations: 0 / 1.027 GB, free: 10.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001347/0.7633, allocations: 170.5 kB / 1.027 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.061e-05/0.7633, allocations: 3.938 kB / 1.027 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7633, allocations: 96 / 1.027 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.7633, allocations: 4 kB / 1.027 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.7636, allocations: 0.5224 MB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.7638, allocations: 155.9 kB / 1.028 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.764, allocations: 0.677 MB / 1.029 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.476e-06/0.764, allocations: 4 kB / 1.029 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.764, allocations: 7.438 kB / 1.029 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7641, allocations: 0 / 1.029 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of Templates: time 0.001838/0.7659, allocations: 160.2 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches