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.001147/0.001146, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01018/0.01018, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.652/2.652, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003988, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8743, allocations: 142.4 MB / 0.9551 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine): time 0.0009232/0.8753, allocations: 348.5 kB / 0.9554 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.8762, allocations: 0.807 MB / 0.9562 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.8763, allocations: 0 / 0.9562 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.8763, allocations: 5.344 kB / 0.9562 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.8764, allocations: 7.984 kB / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.8766, allocations: 1.531 kB / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.8767, allocations: 16.09 kB / 0.9562 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.085e-05/0.8767, allocations: 5.047 kB / 0.9562 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.8768, allocations: 16.83 kB / 0.9562 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.8769, allocations: 10.73 kB / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.877, allocations: 1.625 kB / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.877, allocations: 0 / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.877, allocations: 0 / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.877, allocations: 40.58 kB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.8771, allocations: 11.09 kB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.8772, allocations: 0 / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8772, allocations: 1.562 kB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.8772, allocations: 0 / 0.9563 GB, free: 6.758 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.0004653/0.8776, allocations: 330.1 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.8777, allocations: 8.938 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.8778, allocations: 1.969 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.8779, allocations: 166.6 kB / 0.9568 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8779, allocations: 4.375 kB / 0.9568 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.8779, allocations: 1.531 kB / 0.9568 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.8781, allocations: 37.56 kB / 0.9568 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.8781, allocations: 4.125 kB / 0.9568 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.8781, allocations: 3.938 kB / 0.9568 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8781, allocations: 0 / 0.9568 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.794e-05/0.8782, allocations: 28.36 kB / 0.9569 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.8783, allocations: 156.5 kB / 0.957 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.167e-05/0.8784, allocations: 22.2 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.8785, allocations: 16.12 kB / 0.957 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.8785, allocations: 0 / 0.957 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.8785, allocations: 38.56 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.8785, allocations: 1.031 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002345/0.8787, allocations: 63.3 kB / 0.9571 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.8788, allocations: 55.41 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.8789, allocations: 95.45 kB / 0.9573 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.8789, allocations: 26.77 kB / 0.9573 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.812e-05/0.8789, allocations: 97.22 kB / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.8789, allocations: 0 / 0.9574 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/0.879, allocations: 10.72 kB / 0.9574 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.879, allocations: 311.6 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.8791, allocations: 10.44 kB / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.8791, allocations: 10.48 kB / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.781e-05/0.8792, allocations: 29.28 kB / 0.9578 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.8792, allocations: 4.969 kB / 0.9578 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001069/0.8793, allocations: 44.94 kB / 0.9578 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8793, allocations: 5.5 kB / 0.9578 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.8793, allocations: 3.938 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8794, allocations: 1.031 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.8794, allocations: 12.23 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.8795, allocations: 0 / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.8795, allocations: 6.25 kB / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.8795, allocations: 1.031 kB / 0.9578 GB, free: 5.102 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 5.411e-05/0.8796, allocations: 111 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.8796, allocations: 6.062 kB / 0.9579 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.8796, allocations: 7.062 kB / 0.958 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8796, allocations: 5.125 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8796, allocations: 0 / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8796, allocations: 5.062 kB / 0.958 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.23e-05/0.8797, allocations: 156.8 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8797, allocations: 256 / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.8798, allocations: 7.656 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8798, allocations: 1.25 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8798, allocations: 3.938 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8798, allocations: 3.938 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8798, allocations: 1.094 kB / 0.9581 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.8799, allocations: 82.19 kB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.8799, allocations: 77.11 kB / 0.9583 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.88, allocations: 5.125 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.675e-05/0.88, allocations: 2.094 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.88, allocations: 1.188 kB / 0.9583 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8801, allocations: 5.156 kB / 0.9583 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.596e-05/0.8801, allocations: 86.86 kB / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8801, allocations: 0 / 0.9584 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001707/0.8803, allocations: 3.219 kB / 0.9584 GB, free: 4.488 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.0001277/0.8804, allocations: 97.5 kB / 0.9585 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.8805, allocations: 22.14 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8805, allocations: 4.062 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/0.8806, allocations: 14.67 kB / 0.9585 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.8807, allocations: 7.766 kB / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.881, allocations: 119.8 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.8811, allocations: 0.6724 MB / 0.9593 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.8811, allocations: 5 kB / 0.9593 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.8812, allocations: 11.38 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.8812, allocations: 1.031 kB / 0.9593 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.002266/0.8834, allocations: 237.8 kB / 0.9595 GB, free: 3.414 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