Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001714/0.001714, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.002107/0.002107, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.94/2.94, allocations: 0.49 GB / 0.7923 GB, free: 1.355 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [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.002099/0.002099, allocations: 75.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9923/0.9944, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001679/0.9961, allocations: 0.6724 MB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.9968, allocations: 0.8476 MB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.9968, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.9968, allocations: 0 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.9969, allocations: 10.72 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.9971, allocations: 14.2 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.9971, allocations: 23.73 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.9972, allocations: 10.72 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.708e-05/0.9972, allocations: 10.17 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.9973, allocations: 14.12 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.9973, allocations: 2.469 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.292e-05/0.9973, allocations: 6.656 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.9973, allocations: 0 / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.9974, allocations: 14.45 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.295e-05/0.9974, allocations: 26.88 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9974, allocations: 2.531 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.532e-06/0.9974, allocations: 0 / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.9974, allocations: 0 / 1.324 GB, free: 23.92 MB / 1.061 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.0003477/0.9978, allocations: 341.3 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.9978, allocations: 14.58 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.9979, allocations: 0.9375 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.732e-05/0.998, allocations: 175.1 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.998, allocations: 3.656 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.998, allocations: 2.938 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.9981, allocations: 47 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.9981, allocations: 4.172 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.9982, allocations: 7.938 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.9982, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.9983, allocations: 32.34 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.9985, allocations: 249.6 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.9987, allocations: 44.06 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.9987, allocations: 26.5 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.9988, allocations: 0 / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.9988, allocations: 30.56 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.9988, allocations: 0 / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003229/0.9991, allocations: 84.78 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.9991, allocations: 58.22 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.9992, allocations: 99.62 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.9992, allocations: 25.7 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.957e-05/0.9992, allocations: 82.48 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.9992, allocations: 3.953 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.9992, allocations: 16.31 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.9993, allocations: 316.8 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.9993, allocations: 15.84 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.9994, allocations: 18.58 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.9996, allocations: 38.48 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9996, allocations: 0 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.9997, allocations: 75.47 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.9998, allocations: 6.844 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.9998, allocations: 2.875 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.9998, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.9999, allocations: 8.562 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.9999, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.9999, allocations: 6.391 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.9999, allocations: 6.812 kB / 1.325 GB, free: 22.2 MB / 1.061 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 4.198e-05/1, allocations: 117.8 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/1, allocations: 6.641 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/1, allocations: 71.73 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/1, allocations: 0 / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/1, allocations: 161.4 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1, allocations: 3.938 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/1, allocations: 12.8 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1, allocations: 2.656 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/1, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/1.001, allocations: 159.5 kB / 1.326 GB, free: 21.69 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/1.001, allocations: 79.55 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/1.001, allocations: 4.031 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.706e-05/1.001, allocations: 10.39 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/1.001, allocations: 6.531 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.001, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.854e-05/1.001, allocations: 83.59 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.001, allocations: 0 / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002157/1.001, allocations: 2.531 kB / 1.326 GB, free: 21.51 MB / 1.061 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 9.451e-05/1.001, allocations: 105.2 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002032/1.001, allocations: 38.31 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.001, allocations: 0 / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/1.001, allocations: 18.75 kB / 1.326 GB, free: 21.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/1.002, allocations: 10.45 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/1.002, allocations: 138.4 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.444e-05/1.002, allocations: 0.6772 MB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/1.002, allocations: 11.38 kB / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.002, allocations: 0 / 1.327 GB, free: 20.55 MB / 1.061 GB Notification: Performance of Templates: time 0.001653/1.004, allocations: 0.5478 MB / 1.328 GB, free: 20.51 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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: 11.539890076994197]