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.001616/0.001616, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.786/2.786, allocations: 390.2 MB / 0.6647 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7806/0.7821, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.002112/0.7843, allocations: 0.6084 MB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.7852, allocations: 0.8075 MB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.7853, allocations: 1.219 kB / 0.951 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.7853, allocations: 3.938 kB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.7854, allocations: 1.219 kB / 0.951 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.7856, allocations: 17.03 kB / 0.951 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.7856, allocations: 16.25 kB / 0.951 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.7857, allocations: 9.297 kB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.7858, allocations: 4.844 kB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.7859, allocations: 10.3 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.7859, allocations: 1.094 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.7859, allocations: 1.312 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.7859, allocations: 5.156 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.786, allocations: 10.25 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.846e-05/0.786, allocations: 23.67 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7861, allocations: 0 / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7861, allocations: 0 / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.7861, allocations: 1.562 kB / 0.9511 GB, free: 7.977 MB / 0.7169 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.0003401/0.7864, allocations: 330.4 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7865, allocations: 8.625 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.7865, allocations: 2.219 kB / 0.9514 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.7866, allocations: 165.6 kB / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.7866, allocations: 384 / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.7867, allocations: 5.5 kB / 0.9516 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.7868, allocations: 42.94 kB / 0.9516 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7868, allocations: 192 / 0.9516 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7868, allocations: 5.281 kB / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.7868, allocations: 0 / 0.9516 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.7869, allocations: 16.27 kB / 0.9516 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.787, allocations: 152.1 kB / 0.9518 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.485e-05/0.7871, allocations: 28.06 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.7871, allocations: 10.2 kB / 0.9518 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.7872, allocations: 3.938 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.7872, allocations: 36.03 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.7872, allocations: 0 / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002372/0.7874, allocations: 56.86 kB / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7875, allocations: 56.97 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.7876, allocations: 103.4 kB / 0.9521 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.7876, allocations: 29.7 kB / 0.9521 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.7876, allocations: 81.58 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.7876, allocations: 1.719 kB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.7877, allocations: 11.06 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.7877, allocations: 314.8 kB / 0.9525 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.7878, allocations: 9.141 kB / 0.9525 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.7878, allocations: 12.69 kB / 0.9525 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.7879, allocations: 21.72 kB / 0.9525 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7879, allocations: 0 / 0.9525 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/0.788, allocations: 46.94 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7881, allocations: 4.344 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7881, allocations: 3.938 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7881, allocations: 1.156 kB / 0.9526 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.7882, allocations: 10.58 kB / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7882, allocations: 0 / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.7883, allocations: 7.594 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.7883, allocations: 0 / 0.9526 GB, free: 6.324 MB / 0.7169 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 6.602e-05/0.7883, allocations: 119.1 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.7884, allocations: 5.859 kB / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.7884, allocations: 11.05 kB / 0.9527 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7884, allocations: 3.938 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7884, allocations: 1.688 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7884, allocations: 4 kB / 0.9527 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.625e-05/0.7885, allocations: 152.6 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7885, allocations: 0 / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.7886, allocations: 2.656 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7886, allocations: 1.5 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.7886, allocations: 3.938 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7886, allocations: 0 / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7886, allocations: 3.984 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.7888, allocations: 74.31 kB / 0.953 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.7888, allocations: 78.73 kB / 0.953 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.7888, allocations: 5.094 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.7889, allocations: 1.406 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.7889, allocations: 5.297 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.7889, allocations: 0 / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.789, allocations: 91.03 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.789, allocations: 1.562 kB / 0.9531 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001785/0.7892, allocations: 5.312 kB / 0.9531 GB, free: 5.703 MB / 0.7169 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.0001199/0.7893, allocations: 98.69 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.7894, allocations: 18.02 kB / 0.9533 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7895, allocations: 0 / 0.9533 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.7895, allocations: 9.328 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.7897, allocations: 4.906 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.79, allocations: 116.8 kB / 0.9534 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.7901, allocations: 0.6766 MB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.7902, allocations: 3.984 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.7902, allocations: 8.938 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.7902, allocations: 0 / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of Templates: time 0.002336/0.7925, allocations: 290.1 kB / 0.9543 GB, free: 4.621 MB / 0.7169 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