Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 108 kB / 15.61 MB, free: 152 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.002993/0.002993, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 71.89 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9656/0.967, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.001921/0.969, allocations: 0.5718 MB / 0.9502 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.74e-05/0.969, allocations: 4 kB / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.9691, allocations: 1.375 kB / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.9691, allocations: 0 / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.9691, allocations: 0 / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.246e-05/0.9692, allocations: 0 / 0.9502 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.9692, allocations: 9.312 kB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.36e-05/0.9693, allocations: 1.375 kB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.9693, allocations: 9.297 kB / 0.9502 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.24e-05/0.9694, allocations: 0 / 0.9502 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.9694, allocations: 3.938 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.208e-06/0.9694, allocations: 1.375 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.9694, allocations: 4 kB / 0.9502 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.9694, allocations: 1.375 kB / 0.9502 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.335e-05/0.9695, allocations: 3.984 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9695, allocations: 0 / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9695, allocations: 1.375 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.9695, allocations: 0 / 0.9502 GB, free: 8.734 MB / 0.7169 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.0002814/0.9698, allocations: 310.3 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.9699, allocations: 9.625 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.9699, allocations: 2.312 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.946e-05/0.97, allocations: 176.2 kB / 0.9507 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.97, allocations: 384 / 0.9507 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.97, allocations: 1.75 kB / 0.9507 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.9701, allocations: 27.64 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.9701, allocations: 192 / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.9701, allocations: 5.312 kB / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9702, allocations: 0 / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.9702, allocations: 9.312 kB / 0.9507 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.9704, allocations: 378.3 kB / 0.9511 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.9705, allocations: 174.5 kB / 0.9513 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.9705, allocations: 81.52 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.9705, allocations: 79.22 kB / 0.9514 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.9706, allocations: 111.2 kB / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.9706, allocations: 0 / 0.9515 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.079e-05/0.9707, allocations: 27.08 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.9707, allocations: 130.7 kB / 0.9517 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.9708, allocations: 96.61 kB / 0.9518 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.9708, allocations: 25.7 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.9708, allocations: 81.52 kB / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.9708, allocations: 0 / 0.9519 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.9708, allocations: 15.22 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.9709, allocations: 312.2 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.9709, allocations: 0 / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.9709, allocations: 7.938 kB / 0.9522 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.391e-05/0.9709, allocations: 75.28 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.9709, allocations: 76.66 kB / 0.9523 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.065e-05/0.971, allocations: 36.38 kB / 0.9524 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.971, allocations: 83.41 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.971, allocations: 80.66 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/0.9711, allocations: 155.9 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.318e-05/0.9711, allocations: 79.31 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/0.9711, allocations: 159.8 kB / 0.9529 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.9712, allocations: 76.66 kB / 0.953 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.9712, allocations: 75.28 kB / 0.953 GB, free: 5.648 MB / 0.7169 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 7.063e-05/0.9713, allocations: 273.7 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.9713, allocations: 106.3 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.9714, allocations: 117.2 kB / 0.9535 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.9714, allocations: 181.6 kB / 0.9537 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.463e-05/0.9714, allocations: 179.1 kB / 0.9539 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.9715, allocations: 184.2 kB / 0.954 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.9716, allocations: 407.9 kB / 0.9544 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.9716, allocations: 101 kB / 0.9545 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.9717, allocations: 110.3 kB / 0.9546 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.729e-05/0.9717, allocations: 177.6 kB / 0.9548 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.9717, allocations: 177.6 kB / 0.955 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.9718, allocations: 188.2 kB / 0.9551 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.538e-05/0.9718, allocations: 177.6 kB / 0.9553 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.951e-05/0.9719, allocations: 311.8 kB / 0.9556 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.9719, allocations: 186.4 kB / 0.9558 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.9719, allocations: 181.6 kB / 0.956 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.972, allocations: 106.3 kB / 0.9561 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.972, allocations: 181.6 kB / 0.9562 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.9721, allocations: 105 kB / 0.9563 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.055e-05/0.9721, allocations: 82.03 kB / 0.9564 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9721, allocations: 0 / 0.9564 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002511/0.9724, allocations: 1.469 kB / 0.9564 GB, free: 1.992 MB / 0.7169 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.000131/0.9725, allocations: 176.4 kB / 0.9566 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.877e-05/0.9725, allocations: 5.312 kB / 0.9566 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9726, allocations: 0 / 0.9566 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.014e-06/0.9726, allocations: 1.375 kB / 0.9566 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.9728, allocations: 467.2 kB / 0.957 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/0.9731, allocations: 156.5 kB / 0.9572 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.9732, allocations: 0.6741 MB / 0.9578 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.186e-06/0.9732, allocations: 0 / 0.9578 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.9732, allocations: 7.438 kB / 0.9578 GB, free: 500 kB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.9732, allocations: 1.719 kB / 0.9579 GB, free: 500 kB / 0.7169 GB Notification: Performance of Templates: time 0.002139/0.9754, allocations: 165.2 kB / 0.958 GB, free: 404 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches