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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007849/0.007849, allocations: 102 kB / 15.73 MB, free: 6.477 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.001544/0.001544, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.609/1.609, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.718/2.718, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 65.12 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4444, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.001899/0.4464, allocations: 0.6072 MB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.4474, allocations: 0.8082 MB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.4474, allocations: 0 / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.4475, allocations: 3.938 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.4475, allocations: 0 / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.4477, allocations: 15.91 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.4478, allocations: 15.94 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.4479, allocations: 4 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.448, allocations: 19.86 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.448, allocations: 4 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.4481, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.4481, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.4481, allocations: 7.984 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.462e-05/0.4482, allocations: 11.92 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.716e-05/0.4482, allocations: 15.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4483, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4483, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4483, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 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.0004692/0.4488, allocations: 323.5 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.4488, allocations: 12.03 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.4489, allocations: 12.83 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.449, allocations: 176.3 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.449, allocations: 384 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.449, allocations: 384 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4492, allocations: 34.25 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4492, allocations: 192 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4492, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4492, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.4493, allocations: 19.98 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.4495, allocations: 149.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.4496, allocations: 26.55 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.4496, allocations: 16.91 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.4496, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4497, allocations: 30.56 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.4497, allocations: 4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002228/0.4499, allocations: 57.61 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.45, allocations: 51.41 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.4501, allocations: 101.9 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4502, allocations: 29.64 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.4502, allocations: 84.14 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.4502, allocations: 3.906 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.4504, allocations: 21.83 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4505, allocations: 310.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.4506, allocations: 8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.4506, allocations: 7.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.4507, allocations: 20.84 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4507, allocations: 3.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.815e-05/0.4508, allocations: 49.75 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4508, allocations: 4 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.4508, allocations: 3.938 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4509, allocations: 3.938 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.4509, allocations: 7.938 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.451, allocations: 3.984 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.451, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.451, allocations: 4 kB / 1.091 GB, free: 14.17 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.4511, allocations: 109.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.4511, allocations: 4.031 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.4511, allocations: 11.06 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.4511, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4512, allocations: 3.984 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4512, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.4513, allocations: 157.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4513, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.4513, allocations: 256 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4513, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4513, allocations: 7.938 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4514, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4514, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4515, allocations: 76.95 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.4515, allocations: 77.11 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4516, allocations: 7.938 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.596e-05/0.4516, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.4516, allocations: 32 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4516, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.4517, allocations: 87.27 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4517, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002043/0.4519, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 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 (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.0001487/0.4521, allocations: 99.78 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.4522, allocations: 11.98 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.4522, allocations: 8.062 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.4522, allocations: 11.98 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.4524, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.4527, allocations: 118.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.453, allocations: 0.6729 MB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.4531, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.4531, allocations: 7.438 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.4531, allocations: 4.062 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.002501/0.4556, allocations: 287.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches