Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001853/0.001853, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002013/0.002013, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.437/3.437, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.595e-05, allocations: 3.375 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002803/0.002839, allocations: 0.6688 MB / 0.8782 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004515, allocations: 0.8499 MB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.004557, allocations: 0 / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.004587, allocations: 6.562 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.703e-05/0.004674, allocations: 4.547 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.004883, allocations: 7.984 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.005006, allocations: 25.19 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.005133, allocations: 7.969 kB / 0.8791 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.005246, allocations: 15.88 kB / 0.8791 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/0.005303, allocations: 13.64 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.005321, allocations: 0 / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.005373, allocations: 8 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.005391, allocations: 0 / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.005421, allocations: 7.984 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.005562, allocations: 36.33 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.005567, allocations: 1.594 kB / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.343e-06/0.005568, allocations: 0 / 0.8791 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005573, allocations: 0 / 0.8791 GB, free: 4.949 MB / 0.8386 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.0006467/0.006219, allocations: 360.3 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.006267, allocations: 8.625 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.006408, allocations: 6.281 kB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.006571, allocations: 112.6 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.006588, allocations: 384 / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.006599, allocations: 384 / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.006808, allocations: 42.94 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002504/0.007058, allocations: 8.125 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.007069, allocations: 1.969 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.007074, allocations: 384 / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.007245, allocations: 27.91 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.007757, allocations: 249.5 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.00793, allocations: 43.05 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.957e-05/0.008019, allocations: 15.75 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.008045, allocations: 2.906 kB / 0.88 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/0.008102, allocations: 45.31 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.008103, allocations: 0 / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003998/0.008503, allocations: 65.61 kB / 0.8801 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.008568, allocations: 55.41 kB / 0.8801 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.008751, allocations: 161.9 kB / 0.8803 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.008776, allocations: 30.36 kB / 0.8803 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.008886, allocations: 130.9 kB / 0.8804 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.008908, allocations: 9.297 kB / 0.8805 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.00896, allocations: 15.38 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003571/0.009317, allocations: 0.4923 MB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.009394, allocations: 4.125 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.284e-05/0.009476, allocations: 23.92 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.009649, allocations: 31.67 kB / 0.881 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.009652, allocations: 0 / 0.881 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00023/0.009882, allocations: 49.69 kB / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.009908, allocations: 8 kB / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.009918, allocations: 3.938 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.009935, allocations: 0 / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01004, allocations: 12.08 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.01005, allocations: 0 / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.0101, allocations: 7.953 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01011, allocations: 0 / 0.8811 GB, free: 2.758 MB / 0.8386 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.000158/0.01026, allocations: 156.5 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.01031, allocations: 8 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.01058, allocations: 60.92 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01058, allocations: 0 / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01058, allocations: 0 / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01059, allocations: 4.031 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.01083, allocations: 124.6 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01083, allocations: 0 / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.01089, allocations: 4 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.0109, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.0109, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.01091, allocations: 7.922 kB / 0.8814 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01091, allocations: 0 / 0.8814 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.01125, allocations: 203.9 kB / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.01126, allocations: 8.031 kB / 0.8816 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01128, allocations: 0 / 0.8816 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.01139, allocations: 7.922 kB / 0.8816 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.01144, allocations: 4 kB / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.01144, allocations: 0 / 0.8816 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001082/0.01155, allocations: 131.1 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01155, allocations: 0 / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003763/0.01192, allocations: 7.953 kB / 0.8818 GB, free: 1.973 MB / 0.8386 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.0001755/0.0121, allocations: 95.23 kB / 0.8819 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.01234, allocations: 35.67 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01234, allocations: 3.938 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.01244, allocations: 23.67 kB / 0.8819 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.01284, allocations: 7.938 kB / 0.8819 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.01328, allocations: 110.5 kB / 0.882 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.01338, allocations: 59.22 kB / 0.8821 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.01341, allocations: 8.109 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.01345, allocations: 12.5 kB / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/0.01345, allocations: 0 / 0.8821 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of Templates: time 0.004403/0.01786, allocations: 488.1 kB / 0.8826 GB, free: 1.094 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.615052980021574]