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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 113.7 kB / 18.84 MB, free: 2.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 190.4 kB / 22.11 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 495.8 MB / 0.783 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002505/0.002505, allocations: 65.92 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4585, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002369/0.4608, allocations: 0.6719 MB / 1.307 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.462, allocations: 0.8199 MB / 1.308 GB, free: 324 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.462, allocations: 3.938 kB / 1.308 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.4621, allocations: 0 / 1.308 GB, free: 320 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.4621, allocations: 7.938 kB / 1.308 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.4623, allocations: 4 kB / 1.308 GB, free: 308 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.4624, allocations: 23.92 kB / 1.308 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4625, allocations: 7.984 kB / 1.308 GB, free: 276 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.4626, allocations: 12 kB / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.51e-05/0.4626, allocations: 15.92 kB / 1.308 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.4626, allocations: 0 / 1.308 GB, free: 248 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.4626, allocations: 4 kB / 1.308 GB, free: 244 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.4627, allocations: 3.984 kB / 1.308 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.4627, allocations: 11.94 kB / 1.308 GB, free: 228 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.728e-05/0.4628, allocations: 23.84 kB / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4628, allocations: 0 / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4628, allocations: 0 / 1.308 GB, free: 204 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.4628, allocations: 0 / 1.308 GB, free: 204 kB / 0.9981 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.0005095/0.4633, allocations: 262.3 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4634, allocations: 12.03 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.4634, allocations: 4.891 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.4635, allocations: 118.5 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.4635, allocations: 384 / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4635, allocations: 384 / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.4637, allocations: 50.23 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4637, allocations: 4.188 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4638, allocations: 7.938 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4638, allocations: 0 / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.4639, allocations: 31.97 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.4643, allocations: 212 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.4644, allocations: 46.47 kB / 1.309 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.4645, allocations: 20.91 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.4646, allocations: 7.938 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4646, allocations: 34.56 kB / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4646, allocations: 0 / 1.309 GB, free: 15.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003952/0.465, allocations: 81.58 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.465, allocations: 55.53 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.4651, allocations: 105.8 kB / 1.309 GB, free: 15.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4652, allocations: 25.7 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.4652, allocations: 88.09 kB / 1.309 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.4652, allocations: 7.953 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.4653, allocations: 9.719 kB / 1.309 GB, free: 14.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4654, allocations: 314.8 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.4655, allocations: 23.98 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.4656, allocations: 11.98 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.4658, allocations: 44.77 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4658, allocations: 0 / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.466, allocations: 73.59 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.466, allocations: 8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.466, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.466, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4661, allocations: 11.98 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4661, allocations: 0 / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.4662, allocations: 11.92 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.4662, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 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.491e-05/0.4663, allocations: 113.7 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.4663, allocations: 8.031 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4665, allocations: 68.97 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.4665, allocations: 0 / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4665, allocations: 3.938 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4666, allocations: 0 / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.4667, allocations: 136.7 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4667, allocations: 4 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.4668, allocations: 4.031 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4668, allocations: 7.984 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4668, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4668, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4668, allocations: 4 kB / 1.31 GB, free: 13.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.4671, allocations: 163.4 kB / 1.31 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.4671, allocations: 4.031 kB / 1.31 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4671, allocations: 4 kB / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4672, allocations: 8 kB / 1.31 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.4672, allocations: 3.984 kB / 1.31 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4672, allocations: 0 / 1.31 GB, free: 13.76 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.4673, allocations: 87.22 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.4673, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002106/0.4675, allocations: 7.938 kB / 1.311 GB, free: 13.67 MB / 1.014 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.0001392/0.4676, allocations: 104 kB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.4679, allocations: 31.97 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4679, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.107e-05/0.468, allocations: 19.98 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.4683, allocations: 11.86 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.4687, allocations: 110.3 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.469, allocations: 0.6767 MB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.469, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.469, allocations: 11.44 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.469, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of Templates: time 0.003035/0.4721, allocations: 448.9 kB / 1.312 GB, free: 12.21 MB / 1.014 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.73902084864676]