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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001742/0.001743, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.558/1.558, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.667/2.667, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 67.89 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.049, allocations: 140.4 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002403/1.052, allocations: 0.649 MB / 0.9496 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 5.081e-05/1.052, allocations: 5.375 kB / 0.9496 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/1.052, allocations: 0 / 0.9496 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/1.052, allocations: 4 kB / 0.9496 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.119e-05/1.052, allocations: 0 / 0.9496 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.961e-05/1.052, allocations: 5.312 kB / 0.9496 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/1.052, allocations: 1.375 kB / 0.9496 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/1.052, allocations: 1.375 kB / 0.9496 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/1.052, allocations: 0 / 0.9496 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.665e-05/1.052, allocations: 0 / 0.9496 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/1.052, allocations: 5.359 kB / 0.9496 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-06/1.052, allocations: 0 / 0.9496 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/1.052, allocations: 0 / 0.9496 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/1.052, allocations: 1.375 kB / 0.9496 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.598e-05/1.052, allocations: 7.938 kB / 0.9496 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.052, allocations: 5.375 kB / 0.9496 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/1.052, allocations: 0 / 0.9496 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.052, allocations: 0 / 0.9496 GB, free: 8.598 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.0003537/1.053, allocations: 310.3 kB / 0.9499 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/1.053, allocations: 9.625 kB / 0.9499 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/1.053, allocations: 2.312 kB / 0.9499 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.053, allocations: 164.3 kB / 0.9501 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.053, allocations: 384 / 0.9501 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.053, allocations: 5.75 kB / 0.9501 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/1.053, allocations: 31.62 kB / 0.9501 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.053, allocations: 192 / 0.9501 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.053, allocations: 5.312 kB / 0.9501 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.053, allocations: 3.938 kB / 0.9501 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/1.053, allocations: 5.375 kB / 0.9501 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/1.054, allocations: 374.3 kB / 0.9505 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/1.054, allocations: 178.5 kB / 0.9507 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/1.054, allocations: 81.52 kB / 0.9507 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.054, allocations: 83.16 kB / 0.9508 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/1.054, allocations: 107.2 kB / 0.9509 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/1.054, allocations: 0 / 0.9509 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.43e-05/1.054, allocations: 29.7 kB / 0.9509 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.054, allocations: 128.1 kB / 0.9511 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/1.054, allocations: 100.6 kB / 0.9512 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/1.054, allocations: 25.7 kB / 0.9512 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/1.054, allocations: 81.52 kB / 0.9513 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-06/1.054, allocations: 0 / 0.9513 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/1.054, allocations: 11.09 kB / 0.9513 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/1.054, allocations: 316.3 kB / 0.9516 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-06/1.054, allocations: 0 / 0.9516 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-06/1.054, allocations: 7.875 kB / 0.9516 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.315e-05/1.054, allocations: 75.28 kB / 0.9517 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/1.054, allocations: 76.66 kB / 0.9517 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.938e-05/1.054, allocations: 31.02 kB / 0.9518 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.886e-05/1.054, allocations: 84.78 kB / 0.9518 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.054, allocations: 76.66 kB / 0.9519 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.041e-05/1.054, allocations: 163.9 kB / 0.9521 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.017e-05/1.055, allocations: 79.28 kB / 0.9521 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/1.055, allocations: 155.9 kB / 0.9523 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/1.055, allocations: 80.66 kB / 0.9524 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/1.055, allocations: 75.28 kB / 0.9524 GB, free: 5.512 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 9.343e-05/1.055, allocations: 273.7 kB / 0.9527 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/1.055, allocations: 102.4 kB / 0.9528 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/1.055, allocations: 113.2 kB / 0.9529 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/1.055, allocations: 183 kB / 0.9531 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-05/1.055, allocations: 177.6 kB / 0.9533 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.431e-05/1.055, allocations: 184.2 kB / 0.9534 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/1.055, allocations: 411.9 kB / 0.9538 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/1.055, allocations: 101 kB / 0.9539 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/1.055, allocations: 106.3 kB / 0.954 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-05/1.055, allocations: 177.6 kB / 0.9542 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/1.055, allocations: 184.2 kB / 0.9544 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-05/1.055, allocations: 181.6 kB / 0.9545 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.351e-05/1.055, allocations: 181.6 kB / 0.9547 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/1.056, allocations: 316.2 kB / 0.955 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/1.056, allocations: 182 kB / 0.9552 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/1.056, allocations: 177.6 kB / 0.9554 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/1.056, allocations: 110.4 kB / 0.9555 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.056, allocations: 181.6 kB / 0.9556 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/1.056, allocations: 105 kB / 0.9557 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.792e-05/1.056, allocations: 85.97 kB / 0.9558 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/1.056, allocations: 0 / 0.9558 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003024/1.056, allocations: 1.375 kB / 0.9558 GB, free: 1.855 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.0001852/1.056, allocations: 178.2 kB / 0.956 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.453e-05/1.056, allocations: 5.312 kB / 0.956 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.056, allocations: 0 / 0.956 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/1.056, allocations: 5.312 kB / 0.956 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/1.057, allocations: 0.5215 MB / 0.9565 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001891/1.057, allocations: 159.5 kB / 0.9567 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/1.057, allocations: 0.673 MB / 0.9573 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.508e-06/1.057, allocations: 1.375 kB / 0.9573 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/1.057, allocations: 7.438 kB / 0.9573 GB, free: 280 kB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/1.057, allocations: 0 / 0.9573 GB, free: 280 kB / 0.7169 GB Notification: Performance of Templates: time 0.002282/1.059, allocations: 159.8 kB / 0.9575 GB, free: 188 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