Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|staTim.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 174.5 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 89.75 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 8.844 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 106.3 MB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.3861, allocations: 130.9 MB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.3865, allocations: 71.95 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005324/0.387, allocations: 356.8 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.387, allocations: 0 / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3871, allocations: 4.062 kB / 1.028 GB, free: 13 MB / 0.6823 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.0002624/0.3873, allocations: 307.4 kB / 1.029 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.3874, allocations: 16.02 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.3874, allocations: 0 / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3876, allocations: 167 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.3876, allocations: 4 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3876, allocations: 0 / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3877, allocations: 29.7 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3877, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3877, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3878, allocations: 3.938 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.3878, allocations: 4 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.3879, allocations: 149.6 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.366e-05/0.388, allocations: 22.52 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.388, allocations: 4.094 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.388, allocations: 34.56 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.083e-06/0.3881, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.3882, allocations: 33.69 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3882, allocations: 51.41 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.747e-05/0.3883, allocations: 89.12 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.3883, allocations: 29.64 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.3883, allocations: 80.14 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.3884, allocations: 7.906 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-06/0.3884, allocations: 0 / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3885, allocations: 318.8 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.3885, allocations: 0 / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-06/0.3885, allocations: 0 / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.707e-05/0.3885, allocations: 7.938 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3885, allocations: 4.062 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.932e-05/0.3886, allocations: 33.66 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3886, allocations: 4 kB / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3886, allocations: 0 / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3886, allocations: 0 / 1.03 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.3887, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3887, allocations: 3.984 kB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.3887, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.3888, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 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 (1): * Single equations (assignments): 1 * 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 7.303e-05/0.3888, allocations: 121.8 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.3888, allocations: 3.953 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.3889, allocations: 7.125 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3889, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3889, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.3889, allocations: 0 / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.119e-05/0.389, allocations: 141.7 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.389, allocations: 8 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.389, allocations: 3.984 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.389, allocations: 7.891 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.389, allocations: 4 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.389, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.389, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.884e-05/0.3891, allocations: 57.14 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.3891, allocations: 77.11 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3892, allocations: 7.938 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/0.3892, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.3892, allocations: 4.031 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.3892, allocations: 7.938 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.555e-05/0.3892, allocations: 75.28 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3892, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002267/0.3895, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 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 (1): * Single equations (assignments): 1 * 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.0001361/0.3896, allocations: 99.25 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.3897, allocations: 4 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3897, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.3897, allocations: 4.062 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.886e-05/0.3898, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.39, allocations: 88.7 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.3903, allocations: 0.6731 MB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.98e-05/0.3903, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.3903, allocations: 11.38 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/0.3903, allocations: 3.938 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of Templates: time 0.001879/0.3922, allocations: 159.9 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_StandardTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.StandardTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches