Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.76/2.76, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001103/0.001103, allocations: 177 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009084/0.0009083, allocations: 90.56 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004291, allocations: 10.47 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.4787, allocations: 148.8 MB / 1.368 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.479, allocations: 71.95 kB / 1.368 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001901/0.4809, allocations: 0.6601 MB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4809, allocations: 0 / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4809, allocations: 0 / 1.369 GB, free: 12.58 MB / 0.8698 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.0003862/0.4813, allocations: 342.3 kB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4814, allocations: 8.031 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4814, allocations: 3.938 kB / 1.369 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.4816, allocations: 171 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.4816, allocations: 0 / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4816, allocations: 0 / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.4818, allocations: 37.69 kB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.4818, allocations: 4 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.4818, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4818, allocations: 0 / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.4819, allocations: 23.92 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.4821, allocations: 157.7 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.116e-05/0.4822, allocations: 30.56 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4822, allocations: 0 / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4822, allocations: 30.56 kB / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4822, allocations: 0 / 1.37 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0002295/0.4825, allocations: 57.69 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4825, allocations: 51.53 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.739e-05/0.4826, allocations: 105 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4826, allocations: 25.7 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.4827, allocations: 84.14 kB / 1.37 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.4827, allocations: 7.844 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.4827, allocations: 0 / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4828, allocations: 318.8 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.4829, allocations: 4 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.4829, allocations: 19.94 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.483, allocations: 11.94 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.483, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.4831, allocations: 53.62 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.4831, allocations: 4 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4831, allocations: 96 / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4832, allocations: 4 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.4833, allocations: 7.984 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4833, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.4833, allocations: 8 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.4833, allocations: 0 / 1.37 GB, free: 10.83 MB / 0.8698 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 8.182e-05/0.4834, allocations: 110.3 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.4834, allocations: 4 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.4835, allocations: 7.375 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4835, allocations: 0 / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4835, allocations: 7.984 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4835, allocations: 0 / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.4836, allocations: 153.7 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4836, allocations: 3.953 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.4837, allocations: 7.938 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4837, allocations: 0 / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.4837, allocations: 0 / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4837, allocations: 0 / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4837, allocations: 3.984 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.4839, allocations: 88.95 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.4839, allocations: 81.06 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.4839, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.484, allocations: 4 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.484, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.484, allocations: 8.016 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.4841, allocations: 83.28 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4841, allocations: 0 / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001725/0.4843, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 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.0001657/0.4844, allocations: 100.4 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.4846, allocations: 27.98 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4846, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.4846, allocations: 19.86 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.902e-05/0.4847, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.485, allocations: 116.6 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4853, allocations: 0.677 MB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.4853, allocations: 4.125 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.4853, allocations: 7.438 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/0.4853, allocations: 0 / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of Templates: time 0.001876/0.4872, allocations: 244.1 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Sine.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches