Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001537/0.001537, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001485/0.001485, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7706 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002142/0.002142, allocations: 66.47 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4608, allocations: 170 MB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00233/0.4631, allocations: 0.675 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.4645, allocations: 0.855 MB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.4645, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.4646, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.4647, allocations: 3.938 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.4649, allocations: 11.98 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.465, allocations: 31.86 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.4652, allocations: 4 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.426e-05/0.4652, allocations: 11.98 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.4653, allocations: 7.938 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4653, allocations: 4 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.478e-05/0.4654, allocations: 4 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.4654, allocations: 11.97 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.4654, allocations: 11.94 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.4656, allocations: 31.78 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4656, allocations: 0 / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4656, allocations: 0 / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4656, allocations: 4 kB / 1.285 GB, free: 9.492 MB / 0.9825 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.0005756/0.4662, allocations: 262.3 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4662, allocations: 8.031 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.4663, allocations: 4.938 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4665, allocations: 106.5 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4665, allocations: 4.375 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.4665, allocations: 384 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4667, allocations: 58.22 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4667, allocations: 192 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4667, allocations: 3.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4667, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.4669, allocations: 35.91 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.4673, allocations: 220 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.4674, allocations: 42.53 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.4675, allocations: 20.91 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4675, allocations: 3.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4676, allocations: 34.56 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4676, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003943/0.468, allocations: 85.58 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.468, allocations: 55.41 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4681, allocations: 101.8 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.4681, allocations: 25.7 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/0.4682, allocations: 84.08 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.4682, allocations: 7.938 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.4683, allocations: 17.72 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4684, allocations: 315 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.4685, allocations: 23.97 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.4686, allocations: 15.98 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.4687, allocations: 40.77 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4687, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.4689, allocations: 69.66 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4689, allocations: 11.94 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4689, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.469, allocations: 0 / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.4691, allocations: 7.984 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4691, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.4691, allocations: 7.984 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.4691, allocations: 4 kB / 1.287 GB, free: 7.656 MB / 0.9825 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 9.184e-05/0.4692, allocations: 113.8 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.4692, allocations: 3.953 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.4695, allocations: 76.91 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4695, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4695, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4695, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.4697, allocations: 132.7 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4697, allocations: 4.031 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.4697, allocations: 8 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4697, allocations: 0 / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4697, allocations: 0 / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4697, allocations: 3.984 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4697, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.47, allocations: 171.4 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.47, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.47, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.4701, allocations: 4 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.4701, allocations: 3.984 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4701, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.4702, allocations: 87.39 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4702, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002166/0.4704, allocations: 8 kB / 1.288 GB, free: 6.977 MB / 0.9825 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.0001557/0.4706, allocations: 99.28 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.4708, allocations: 35.95 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4708, allocations: 0 / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.598e-05/0.4709, allocations: 19.92 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.4712, allocations: 14.72 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.4716, allocations: 102.3 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.4719, allocations: 0.6768 MB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.472, allocations: 3.938 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.472, allocations: 11.44 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.472, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of Templates: time 0.003026/0.475, allocations: 445.8 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.392890731804073]