Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.00253/0.00253, allocations: 81.5 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.003227/0.003227, 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.444/3.444, allocations: 429.5 MB / 0.6729 GB, free: 4 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.228e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002101/0.002133, allocations: 0.6737 MB / 0.8782 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003429, allocations: 0.8448 MB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.476e-05/0.003473, allocations: 0 / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.003496, allocations: 2.188 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.00356, allocations: 0.7656 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.003741, allocations: 20.67 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.003821, allocations: 24.8 kB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.003907, allocations: 5.781 kB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.003995, allocations: 19.92 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.004032, allocations: 4 kB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.004047, allocations: 0 / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.004089, allocations: 4 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.004111, allocations: 11.64 kB / 0.8791 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.004135, allocations: 7.984 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.004246, allocations: 27.84 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.00425, allocations: 4 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004251, allocations: 0 / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004255, allocations: 0 / 0.8791 GB, free: 4.953 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.0005217/0.004777, allocations: 360.3 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.004817, allocations: 8.031 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.004928, allocations: 4.938 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.005057, allocations: 112.5 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.005075, allocations: 9.25 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.005083, allocations: 384 / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.005231, allocations: 43.33 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005239, allocations: 192 / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.005251, allocations: 4.375 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.005254, allocations: 1.469 kB / 0.8796 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.005384, allocations: 27.91 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.005762, allocations: 248.8 kB / 0.8799 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.005886, allocations: 47.03 kB / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.344e-05/0.00595, allocations: 16.78 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.005977, allocations: 7.984 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.006015, allocations: 37.98 kB / 0.88 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.006016, allocations: 0.6875 kB / 0.88 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003063/0.006322, allocations: 70.53 kB / 0.8801 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.006373, allocations: 55.39 kB / 0.8801 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.00651, allocations: 162.8 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.006532, allocations: 25.7 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.006618, allocations: 128 kB / 0.8804 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.006638, allocations: 3.953 kB / 0.8804 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.006685, allocations: 27.36 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002813/0.006966, allocations: 497 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.00702, allocations: 8 kB / 0.8809 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.007069, allocations: 13.52 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.007171, allocations: 31.61 kB / 0.881 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007173, allocations: 0.875 kB / 0.881 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001653/0.007338, allocations: 58.47 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.007354, allocations: 4 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.007366, allocations: 11.55 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.007379, allocations: 0 / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.007448, allocations: 8 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007453, allocations: 0 / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.007486, allocations: 3.953 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.007496, allocations: 4 kB / 0.8811 GB, free: 2.762 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.0001144/0.007611, allocations: 156.6 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.00764, allocations: 7.984 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.007828, allocations: 61.56 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00783, allocations: 0 / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007833, allocations: 0.5938 kB / 0.8813 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.007838, allocations: 4.234 kB / 0.8813 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.007992, allocations: 116.6 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.007993, allocations: 0 / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.008043, allocations: 11.98 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008045, allocations: 0 / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.008055, allocations: 4 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.008058, allocations: 3.938 kB / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008059, allocations: 0 / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.00832, allocations: 195.9 kB / 0.8816 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.00833, allocations: 3.984 kB / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.008342, allocations: 8.031 kB / 0.8816 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.008406, allocations: 3.938 kB / 0.8816 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.008445, allocations: 4 kB / 0.8816 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.008448, allocations: 0 / 0.8816 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.143e-05/0.00853, allocations: 131.2 kB / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00853, allocations: 0 / 0.8818 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002128/0.008743, allocations: 7.953 kB / 0.8818 GB, free: 1.984 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.0001204/0.008863, allocations: 95.19 kB / 0.8819 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.009031, allocations: 35.67 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009034, allocations: 0 / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.009117, allocations: 23.67 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.009356, allocations: 7.938 kB / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.009678, allocations: 110.5 kB / 0.882 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.475e-05/0.009753, allocations: 67.19 kB / 0.8821 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.42e-05/0.009777, allocations: 3.938 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.00981, allocations: 16.62 kB / 0.8821 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.009811, allocations: 0 / 0.8821 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of Templates: time 0.003182/0.01299, allocations: 482.4 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.636631786008365]