Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 390.3 MB / 402.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009847/0.0009847, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 221.3 MB / 0.7915 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 102.5 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.45e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.39, allocations: 149.1 MB / 1.364 GB, free: 4.914 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.39, allocations: 70.27 kB / 1.364 GB, free: 4.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.000521/1.391, allocations: 371.7 kB / 1.365 GB, free: 4.516 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/1.391, allocations: 0 / 1.365 GB, free: 4.516 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.391, allocations: 0.7812 kB / 1.365 GB, free: 4.516 MB / 0.823 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.0002484/1.391, allocations: 306.2 kB / 1.365 GB, free: 4.176 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.391, allocations: 8.094 kB / 1.365 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/1.391, allocations: 4 kB / 1.365 GB, free: 4.164 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/1.391, allocations: 163.8 kB / 1.365 GB, free: 3.965 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/1.392, allocations: 4 kB / 1.365 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/1.392, allocations: 0 / 1.365 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/1.392, allocations: 33.64 kB / 1.365 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/1.392, allocations: 0 / 1.365 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/1.392, allocations: 0 / 1.365 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/1.392, allocations: 3.938 kB / 1.365 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/1.392, allocations: 0 / 1.365 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/1.392, allocations: 399.3 kB / 1.366 GB, free: 3.488 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.712e-05/1.392, allocations: 169.1 kB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/1.392, allocations: 80.14 kB / 1.366 GB, free: 3.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/1.392, allocations: 79.27 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/1.392, allocations: 113.6 kB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.392, allocations: 4 kB / 1.366 GB, free: 3.031 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 6.912e-05/1.392, allocations: 28.89 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.392, allocations: 126.7 kB / 1.366 GB, free: 2.863 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/1.393, allocations: 93.72 kB / 1.366 GB, free: 2.766 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/1.393, allocations: 25.7 kB / 1.366 GB, free: 2.734 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/1.393, allocations: 80.14 kB / 1.366 GB, free: 2.652 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.393, allocations: 3.938 kB / 1.366 GB, free: 2.648 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/1.393, allocations: 0 / 1.366 GB, free: 2.648 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.393, allocations: 321.9 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/1.393, allocations: 0 / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-06/1.393, allocations: 2.078 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.962e-05/1.393, allocations: 75.28 kB / 1.367 GB, free: 2.254 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-05/1.393, allocations: 79.27 kB / 1.367 GB, free: 2.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.619e-05/1.393, allocations: 29.7 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/1.393, allocations: 79.28 kB / 1.367 GB, free: 2.062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/1.393, allocations: 79.22 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.932e-05/1.393, allocations: 154.6 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.513e-05/1.393, allocations: 78.47 kB / 1.367 GB, free: 1.758 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.981e-05/1.393, allocations: 158.5 kB / 1.367 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/1.393, allocations: 75.28 kB / 1.368 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/1.393, allocations: 87.16 kB / 1.368 GB, free: 1.441 MB / 0.823 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 () * 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.0001353/1.393, allocations: 259.5 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/1.393, allocations: 101.6 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/1.393, allocations: 111.1 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/1.394, allocations: 180.2 kB / 1.368 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.926e-05/1.394, allocations: 184.3 kB / 1.368 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/1.394, allocations: 184.2 kB / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/1.394, allocations: 404.2 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/1.394, allocations: 105 kB / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/1.394, allocations: 112.8 kB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.497e-05/1.394, allocations: 179.3 kB / 1.369 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/1.394, allocations: 180.2 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/1.394, allocations: 184.3 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-05/1.395, allocations: 180.2 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/1.395, allocations: 307.5 kB / 1.37 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.18e-05/1.395, allocations: 189.9 kB / 1.37 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/1.395, allocations: 179.1 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/1.395, allocations: 116.9 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/1.395, allocations: 176.3 kB / 1.371 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/1.395, allocations: 101 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.738e-05/1.395, allocations: 82.66 kB / 1.371 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.395, allocations: 0 / 1.371 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000276/1.395, allocations: 0 / 1.371 GB, free: 13.8 MB / 0.8386 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 () * 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.0001912/1.396, allocations: 178.6 kB / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.494e-05/1.396, allocations: 8.484 kB / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.396, allocations: 0 / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/1.396, allocations: 0 / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/1.396, allocations: 0.5224 MB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/1.396, allocations: 127.7 kB / 1.372 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/1.397, allocations: 0.6731 MB / 1.372 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.187e-06/1.397, allocations: 4 kB / 1.372 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/1.397, allocations: 7.438 kB / 1.372 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.397, allocations: 0 / 1.372 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.001753/1.398, allocations: 172.3 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches