Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 106.5 kB / 16.36 MB, free: 6.336 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.001176/0.001176, allocations: 198 kB / 17.3 MB, free: 5.883 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.513/1.513, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 64.2 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3445, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001991/0.3465, allocations: 0.5555 MB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.552e-05/0.3466, allocations: 0 / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.3466, allocations: 4 kB / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3467, allocations: 0 / 1.027 GB, free: 1.484 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.3467, allocations: 7.938 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.323e-05/0.3468, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.065e-05/0.3468, allocations: 4 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.3469, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.3469, allocations: 7.984 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.876e-05/0.347, allocations: 3.984 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.347, allocations: 0 / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.347, allocations: 0 / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.347, allocations: 0 / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.347, allocations: 7.875 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.008e-05/0.3471, allocations: 0 / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3471, allocations: 8 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3471, allocations: 0 / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.3471, allocations: 0 / 1.027 GB, free: 1.445 MB / 0.795 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.0003305/0.3475, allocations: 315.6 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3475, allocations: 8.031 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.3475, allocations: 0.9375 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3477, allocations: 160.4 kB / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3477, allocations: 384 / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.3477, allocations: 4.375 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.084e-05/0.3478, allocations: 34.2 kB / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3478, allocations: 192 / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3478, allocations: 3.938 kB / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3478, allocations: 0 / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.607e-05/0.3478, allocations: 4 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.3482, allocations: 375.5 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3483, allocations: 189 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.3484, allocations: 82.59 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.3484, allocations: 75.28 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/0.3485, allocations: 109.8 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3485, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.3e-05/0.3485, allocations: 25.7 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.3486, allocations: 134.7 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.3487, allocations: 93.86 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3487, allocations: 25.7 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.3488, allocations: 84.14 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.3488, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.3488, allocations: 9.719 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3489, allocations: 318.7 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.3489, allocations: 4.125 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.3489, allocations: 3.984 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.349, allocations: 79.28 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/0.349, allocations: 79.28 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.371e-05/0.3491, allocations: 29.64 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.3491, allocations: 83.28 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/0.3491, allocations: 83.22 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.965e-05/0.3492, allocations: 154.6 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.486e-05/0.3492, allocations: 75.28 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.894e-05/0.3493, allocations: 154.5 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.3494, allocations: 83.27 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.3494, allocations: 79.22 kB / 1.03 GB, free: 14.31 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.3496, allocations: 272.2 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.3496, allocations: 109 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.3497, allocations: 104.1 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/0.3498, allocations: 180.2 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-05/0.3499, allocations: 180.2 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.73e-05/0.3499, allocations: 184.2 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.3502, allocations: 413.2 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.733e-05/0.3502, allocations: 101 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.3503, allocations: 108.9 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-05/0.3503, allocations: 176.3 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.3504, allocations: 180.2 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.139e-05/0.3505, allocations: 180.6 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.119e-05/0.3506, allocations: 192.2 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3507, allocations: 299.8 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.3508, allocations: 193.9 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.3509, allocations: 180.2 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.351, allocations: 105 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.3511, allocations: 184.2 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.3511, allocations: 101 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.61e-05/0.3512, allocations: 75.28 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3512, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002412/0.3514, allocations: 4 kB / 1.034 GB, free: 10.64 MB / 0.8106 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 (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.0001544/0.3516, allocations: 186.6 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 3.792e-05/0.3516, allocations: 7.875 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3516, allocations: 0 / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.3516, allocations: 0 / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.352, allocations: 459.6 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.3522, allocations: 160.4 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3525, allocations: 0.6729 MB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.144e-06/0.3525, allocations: 0 / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.3525, allocations: 7.438 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3525, allocations: 0 / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of Templates: time 0.001883/0.3544, allocations: 168.9 kB / 1.035 GB, free: 8.93 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches