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.001854/0.001854, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002409/0.002409, allocations: 216.5 kB / 22.25 MB, free: 5.078 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.682/1.682, allocations: 230.6 MB / 256 MB, free: 8.016 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.547/3.547, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.002165/0.002165, allocations: 65.66 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4711, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002292/0.4734, allocations: 0.6718 MB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.475, allocations: 0.8592 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.475, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.047e-05/0.4751, allocations: 0 / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.4752, allocations: 7.922 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.4754, allocations: 12 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4755, allocations: 31.86 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.4757, allocations: 4 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.716e-05/0.4758, allocations: 15.97 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.4758, allocations: 11.94 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.4758, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.4759, allocations: 4 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.4759, allocations: 7.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.476, allocations: 11.94 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.4761, allocations: 27.84 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4761, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4761, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4761, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 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.0005321/0.4766, allocations: 262.3 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.4767, allocations: 12.03 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.4768, allocations: 4.922 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4769, allocations: 110.5 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.477, allocations: 384 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.477, allocations: 384 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.4772, allocations: 58.22 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4772, allocations: 192 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4772, allocations: 3.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4772, allocations: 4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.4774, allocations: 31.91 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.4778, allocations: 223.9 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.478, allocations: 42.5 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.641e-05/0.4781, allocations: 24.91 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4781, allocations: 0 / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.4781, allocations: 30.56 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4781, allocations: 3.938 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.4785, allocations: 89.58 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.4786, allocations: 51.41 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.4787, allocations: 101.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.4787, allocations: 25.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.4788, allocations: 84.14 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.4788, allocations: 3.953 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.4788, allocations: 13.72 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.479, allocations: 323 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.4791, allocations: 11.98 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.4791, allocations: 15.98 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4793, allocations: 40.81 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4793, allocations: 7.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.4795, allocations: 69.67 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4795, allocations: 4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4795, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4795, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4796, allocations: 11.98 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4796, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.4797, allocations: 7.984 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.4797, allocations: 3.938 kB / 1.33 GB, free: 13.95 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.0001202/0.4798, allocations: 122.3 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.4798, allocations: 3.953 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.48, allocations: 68.91 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4801, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4801, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4801, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.4802, allocations: 136.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4802, allocations: 4.031 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.4803, allocations: 7.984 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4803, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4803, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4803, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4803, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.4806, allocations: 167.4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-06/0.4806, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4806, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.4807, allocations: 11.98 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4807, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.4807, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.4808, allocations: 79.47 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4808, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002094/0.481, allocations: 7.938 kB / 1.33 GB, free: 13.26 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.0001787/0.4812, allocations: 99.27 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.4814, allocations: 35.97 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4814, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.4815, allocations: 15.98 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4818, allocations: 15.98 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.4822, allocations: 106.3 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4826, allocations: 0.673 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.685e-05/0.4826, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.4826, allocations: 11.42 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4826, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of Templates: time 0.003017/0.4856, allocations: 450.6 kB / 1.332 GB, free: 11.8 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.972094152122736]