Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.4899 GB / 0.7915 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.16 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4389, allocations: 176.1 MB / 1.321 GB, free: 2.773 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002235/0.4411, allocations: 0.6817 MB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.4424, allocations: 0.8475 MB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.4424, allocations: 0 / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.4424, allocations: 4 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.4425, allocations: 7.922 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.4428, allocations: 12 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.768e-05/0.4428, allocations: 23.86 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.443, allocations: 11.98 kB / 1.323 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.443, allocations: 11.98 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.4431, allocations: 11.92 kB / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4431, allocations: 0 / 1.323 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.475e-05/0.4432, allocations: 8 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.4432, allocations: 0 / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.4432, allocations: 11.94 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.4433, allocations: 39.81 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4433, allocations: 0 / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4433, allocations: 0 / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.4433, allocations: 0 / 1.323 GB, free: 1.09 MB / 1.014 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.0005568/0.4439, allocations: 339.4 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4439, allocations: 15.98 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.444, allocations: 0.9375 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.4442, allocations: 168.3 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.4442, allocations: 384 / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.4442, allocations: 4.375 kB / 1.323 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4444, allocations: 54.17 kB / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4444, allocations: 192 / 1.323 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4444, allocations: 3.938 kB / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.4445, allocations: 3.984 kB / 1.323 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.4446, allocations: 39.89 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.445, allocations: 252.9 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4452, allocations: 34.5 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.396e-05/0.4453, allocations: 24.89 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4453, allocations: 0 / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/0.4453, allocations: 34.56 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4453, allocations: 4 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003926/0.4457, allocations: 81.58 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.4458, allocations: 55.41 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.4459, allocations: 97.86 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4459, allocations: 25.7 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.446, allocations: 84.12 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.446, allocations: 12.08 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.4461, allocations: 13.72 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4462, allocations: 310.8 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.4463, allocations: 15.98 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.593e-05/0.4464, allocations: 19.97 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.4466, allocations: 40.89 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4466, allocations: 3.938 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002065/0.4468, allocations: 65.59 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4468, allocations: 8 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4468, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4468, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.4469, allocations: 7.984 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4469, allocations: 8.031 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.447, allocations: 4 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.447, allocations: 3.938 kB / 1.325 GB, free: 15.06 MB / 1.029 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 0.000109/0.4471, allocations: 120.6 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4471, allocations: 3.953 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.4473, allocations: 76.72 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4473, allocations: 4.031 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4473, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4474, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4476, allocations: 157.6 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4476, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.4476, allocations: 11.98 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4476, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.4476, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4476, allocations: 3.938 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4476, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.4479, allocations: 167.4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.4479, allocations: 81.11 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.448, allocations: 7.984 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.846e-05/0.448, allocations: 4 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.4481, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.4481, allocations: 0 / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.4482, allocations: 87.3 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4482, allocations: 0 / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002133/0.4484, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 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.0001625/0.4485, allocations: 103.2 kB / 1.325 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.4488, allocations: 35.95 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4488, allocations: 0 / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.4489, allocations: 20.05 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.4492, allocations: 9.75 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.4495, allocations: 110.2 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4499, allocations: 0.6806 MB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.4499, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4499, allocations: 11.44 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4499, allocations: 4.062 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of Templates: time 0.002966/0.4529, allocations: 439.7 kB / 1.327 GB, free: 12.79 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.54809308797121]