Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007875/0.007875, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001655/0.001655, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3781, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001997/0.3801, allocations: 0.6556 MB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.3811, allocations: 0.8238 MB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.3812, allocations: 0 / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.3812, allocations: 3.938 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.3813, allocations: 3.938 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3815, allocations: 8 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.408e-05/0.3816, allocations: 19.92 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3817, allocations: 11.98 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.3818, allocations: 8 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.3818, allocations: 19.91 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3819, allocations: 0 / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.3819, allocations: 4 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3819, allocations: 4 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.3819, allocations: 7.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.382, allocations: 19.91 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.382, allocations: 0 / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3821, allocations: 4 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.3821, allocations: 3.984 kB / 1.168 GB, free: 5.16 MB / 0.92 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.000535/0.3826, allocations: 339.4 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3827, allocations: 12.02 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.3827, allocations: 4.938 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.3829, allocations: 168.3 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3829, allocations: 384 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3829, allocations: 384 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3831, allocations: 50.23 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.3831, allocations: 4.125 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3831, allocations: 3.938 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.3832, allocations: 8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3833, allocations: 31.95 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3837, allocations: 241 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3839, allocations: 42.44 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/0.384, allocations: 28.91 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.384, allocations: 7.969 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.384, allocations: 30.56 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 3.727e-06/0.384, allocations: 3.984 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/0.3844, allocations: 81.58 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.3844, allocations: 59.53 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.3845, allocations: 93.86 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3846, allocations: 29.7 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.3846, allocations: 84.14 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.3846, allocations: 7.938 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.3847, allocations: 13.72 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3848, allocations: 314.8 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/0.3849, allocations: 15.98 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.385, allocations: 19.98 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3851, allocations: 36.81 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3851, allocations: 3.938 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.3853, allocations: 77.48 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3854, allocations: 8.094 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3854, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.3854, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.3855, allocations: 4 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3855, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.3856, allocations: 7.984 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3856, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 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 8.562e-05/0.3857, allocations: 114.7 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3857, allocations: 8 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3859, allocations: 68.77 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3859, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3859, allocations: 3.938 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.386, allocations: 0 / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.3861, allocations: 161.5 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3861, allocations: 0 / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.477e-05/0.3862, allocations: 7.984 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3862, allocations: 8.031 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3862, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3862, allocations: 0 / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3862, allocations: 3.938 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.3865, allocations: 163.5 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3865, allocations: 81.06 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3866, allocations: 4.031 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.3866, allocations: 7.984 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3867, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3867, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.101e-05/0.3868, allocations: 87.27 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.724e-06/0.3868, allocations: 0 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002078/0.387, allocations: 3.938 kB / 1.171 GB, free: 2.312 MB / 0.92 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.0001561/0.3871, allocations: 103.2 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3874, allocations: 31.97 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3874, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.106e-05/0.3875, allocations: 23.97 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3877, allocations: 11.34 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.3881, allocations: 114.1 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3883, allocations: 0.6806 MB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.3884, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3884, allocations: 7.438 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.3884, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Templates: time 0.002527/0.3909, allocations: 438.5 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches