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.001103/0.001102, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01234/0.01234, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.638/1.638, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.645/2.645, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 12.28 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8584, allocations: 142.4 MB / 0.9551 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.000926/0.8594, allocations: 397.2 kB / 0.9554 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.8602, allocations: 0.8026 MB / 0.9562 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.8603, allocations: 1.219 kB / 0.9562 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.8603, allocations: 7.984 kB / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.8604, allocations: 1.031 kB / 0.9562 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.8605, allocations: 5.281 kB / 0.9562 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.402e-05/0.8606, allocations: 26.06 kB / 0.9563 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.8607, allocations: 6.094 kB / 0.9563 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.8608, allocations: 4 kB / 0.9563 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.8608, allocations: 14.67 kB / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.8608, allocations: 0 / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.8609, allocations: 1.094 kB / 0.9563 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.8609, allocations: 5.031 kB / 0.9563 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.8609, allocations: 35.88 kB / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.011e-05/0.861, allocations: 23.48 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.861, allocations: 0 / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.677e-06/0.861, allocations: 1.25 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.861, allocations: 3.938 kB / 0.9564 GB, free: 6.738 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003857/0.8614, allocations: 341.8 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.8615, allocations: 12.41 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.8615, allocations: 3.156 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.8616, allocations: 161.8 kB / 0.9569 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.8616, allocations: 4.359 kB / 0.9569 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.8616, allocations: 1.625 kB / 0.9569 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.8618, allocations: 55.45 kB / 0.9569 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8618, allocations: 192 / 0.9569 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.8618, allocations: 3.938 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8619, allocations: 5.469 kB / 0.9569 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.862, allocations: 43.52 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.8623, allocations: 249.3 kB / 0.9572 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.8625, allocations: 50.94 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.289e-05/0.8626, allocations: 27.88 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.8626, allocations: 0.9062 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.8626, allocations: 39.59 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8626, allocations: 0 / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.863, allocations: 103 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.863, allocations: 52.62 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.8631, allocations: 97.84 kB / 0.9576 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.8631, allocations: 26.8 kB / 0.9576 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.8631, allocations: 84.89 kB / 0.9577 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.8631, allocations: 8.781 kB / 0.9577 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.8632, allocations: 10.78 kB / 0.9577 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.8632, allocations: 311.8 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.8633, allocations: 29.69 kB / 0.958 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.8634, allocations: 18.36 kB / 0.958 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.8636, allocations: 57.14 kB / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.8636, allocations: 1.125 kB / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.8638, allocations: 85.59 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8638, allocations: 6.938 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8638, allocations: 0 / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.8638, allocations: 0 / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.762e-05/0.8639, allocations: 12.64 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8639, allocations: 1.125 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.864, allocations: 5.594 kB / 0.9582 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.864, allocations: 5.172 kB / 0.9582 GB, free: 4.914 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 (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 4.902e-05/0.864, allocations: 115 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.8641, allocations: 2.156 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.8643, allocations: 83.12 kB / 0.9584 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8643, allocations: 6.188 kB / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8643, allocations: 0 / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.8643, allocations: 0 / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.8644, allocations: 165.6 kB / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8644, allocations: 0 / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.8645, allocations: 8.281 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8645, allocations: 1.344 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.8645, allocations: 0 / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8645, allocations: 1.188 kB / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8645, allocations: 0 / 0.9586 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.8647, allocations: 177 kB / 0.9587 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.8648, allocations: 82.03 kB / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.8648, allocations: 0 / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.8649, allocations: 18.66 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.8649, allocations: 5.516 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.8649, allocations: 1.156 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.172e-05/0.865, allocations: 85.89 kB / 0.9589 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.865, allocations: 3.938 kB / 0.9589 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002102/0.8652, allocations: 4.188 kB / 0.9589 GB, free: 4.168 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 (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.0001212/0.8653, allocations: 101.6 kB / 0.959 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.8655, allocations: 46.39 kB / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8655, allocations: 0 / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.8656, allocations: 28.23 kB / 0.9591 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.8659, allocations: 10.19 kB / 0.9591 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.8662, allocations: 108.1 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.8663, allocations: 0.677 MB / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.906e-05/0.8663, allocations: 1.438 kB / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.8663, allocations: 12.91 kB / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.8663, allocations: 0 / 0.9599 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.002455/0.8688, allocations: 356 kB / 0.9602 GB, free: 3.031 MB / 0.7169 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/jenkins/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