Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001466, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001516/0.001516, allocations: 187 kB / 17.34 MB, free: 5.719 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.277/2.277, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001468, allocations: 71.89 kB / 0.9516 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001901/1.015, allocations: 0.6699 MB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008984/1.016, allocations: 0.8052 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/1.016, allocations: 1.188 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/1.016, allocations: 4.641 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/1.016, allocations: 0 / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/1.016, allocations: 15.64 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/1.016, allocations: 21.16 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/1.016, allocations: 8.016 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/1.016, allocations: 16.75 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/1.016, allocations: 9.234 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/1.016, allocations: 2.375 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/1.016, allocations: 1.906 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/1.016, allocations: 10.34 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/1.016, allocations: 10.73 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.656e-05/1.017, allocations: 21.22 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.017, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/1.017, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.561e-06/1.017, allocations: 0 / 1.09 GB, free: 4.391 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003875/1.017, allocations: 337.1 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.017, allocations: 10.69 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/1.017, allocations: 6.25 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/1.017, allocations: 166.8 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/1.017, allocations: 4.312 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/1.017, allocations: 2.234 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/1.017, allocations: 49.02 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.017, allocations: 5.125 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.017, allocations: 7.938 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.017, allocations: 1.219 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/1.018, allocations: 35.92 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/1.018, allocations: 246.1 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/1.018, allocations: 45.52 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/1.018, allocations: 24.39 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/1.018, allocations: 0 / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/1.018, allocations: 35.56 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/1.018, allocations: 0 / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003626/1.018, allocations: 84.92 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/1.019, allocations: 51.41 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/1.019, allocations: 97.61 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/1.019, allocations: 25.7 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/1.019, allocations: 90.28 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/1.019, allocations: 1.969 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/1.019, allocations: 12.67 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/1.019, allocations: 316.6 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/1.019, allocations: 18.23 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/1.019, allocations: 22.23 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.019, allocations: 36.36 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.019, allocations: 1.125 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/1.019, allocations: 75.47 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.019, allocations: 5.156 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.019, allocations: 0 / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.019, allocations: 4.625 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/1.019, allocations: 9.719 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.019, allocations: 0 / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/1.02, allocations: 6.906 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/1.02, allocations: 0 / 1.092 GB, free: 2.68 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 (2): * Single equations (assignments): 2 * 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 5.654e-05/1.02, allocations: 124.5 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.02, allocations: 1.609 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/1.02, allocations: 67.73 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.02, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.02, allocations: 1.312 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.02, allocations: 4.562 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/1.02, allocations: 163.8 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.02, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/1.02, allocations: 12.72 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.02, allocations: 5.188 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.02, allocations: 0.5156 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.02, allocations: 1.031 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.02, allocations: 0.9375 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/1.02, allocations: 169.8 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/1.02, allocations: 82.75 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.02, allocations: 2.109 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/1.02, allocations: 5.719 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/1.021, allocations: 1.859 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/1.021, allocations: 1.094 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.467e-05/1.021, allocations: 84.78 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.021, allocations: 0 / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002096/1.021, allocations: 2.969 kB / 1.093 GB, free: 1.977 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 (2): * Single equations (assignments): 2 * 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.0001431/1.021, allocations: 106 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002254/1.021, allocations: 35.17 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.021, allocations: 3.938 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/1.021, allocations: 20.7 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.022, allocations: 6.922 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/1.022, allocations: 130.9 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/1.022, allocations: 0.6756 MB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/1.022, allocations: 9.719 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of SimCode: time 7.32e-07/1.022, allocations: 0 / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of Templates: time 0.002112/1.024, allocations: 0.5454 MB / 1.094 GB, free: 0.9961 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches