Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008116/0.0008116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001887, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007061/0.0007061, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008697/0.001576, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9942/0.9942, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.104, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.923/1.923, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5467/2.47, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.775e-05, allocations: 6.906 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00142/0.001448, allocations: 0.7183 MB / 0.7301 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000786/0.002234, allocations: 0.8729 MB / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.002261, allocations: 0 / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.002284, allocations: 0 / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.627e-05/0.00232, allocations: 1.641 kB / 0.7309 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.173e-05/0.002412, allocations: 21.14 kB / 0.731 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.002481, allocations: 19.83 kB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.002569, allocations: 9.859 kB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.002658, allocations: 17.41 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.002704, allocations: 13.61 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.002719, allocations: 4 kB / 0.731 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/0.002787, allocations: 8.578 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.0028, allocations: 1.641 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.002815, allocations: 5.859 kB / 0.731 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.575e-05/0.002911, allocations: 9.531 kB / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.002929, allocations: 5.438 kB / 0.7311 GB, free: 2.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00293, allocations: 4 kB / 0.7311 GB, free: 2.785 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.002943, allocations: 0.875 kB / 0.7311 GB, free: 2.785 MB / 0.698 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.000362/0.003305, allocations: 229.3 kB / 0.7313 GB, free: 2.535 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.003339, allocations: 8.031 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.003479, allocations: 82.73 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.003569, allocations: 121.6 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.003578, allocations: 6.156 kB / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.003584, allocations: 384 / 0.7315 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.003686, allocations: 59.81 kB / 0.7315 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003693, allocations: 192 / 0.7315 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.0037, allocations: 384 / 0.7315 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.003704, allocations: 1.219 kB / 0.7315 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.003729, allocations: 7.938 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.004322, allocations: 140.9 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.004374, allocations: 27.7 kB / 0.7317 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.004387, allocations: 8.922 kB / 0.7317 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.004405, allocations: 0.7656 kB / 0.7317 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.004425, allocations: 31.11 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.004426, allocations: 0.875 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001173/0.004543, allocations: 38.56 kB / 0.7318 GB, free: 1.926 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.004588, allocations: 59.28 kB / 0.7318 GB, free: 1.855 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.004655, allocations: 110.7 kB / 0.732 GB, free: 1.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.004665, allocations: 26.27 kB / 0.732 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.004697, allocations: 82.34 kB / 0.7321 GB, free: 1.621 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.004714, allocations: 3.953 kB / 0.7321 GB, free: 1.617 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.004739, allocations: 17.72 kB / 0.7321 GB, free: 1.594 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.00483, allocations: 314.8 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.004845, allocations: 7.984 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.004854, allocations: 2.094 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.004879, allocations: 12.86 kB / 0.7324 GB, free: 1.254 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.004883, allocations: 0.8438 kB / 0.7324 GB, free: 1.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.934e-05/0.004943, allocations: 42.59 kB / 0.7324 GB, free: 1.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.004965, allocations: 5.719 kB / 0.7324 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.004973, allocations: 0 / 0.7324 GB, free: 1.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.004983, allocations: 4.531 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.005095, allocations: 8.875 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.0051, allocations: 0.6562 kB / 0.7325 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.005121, allocations: 8.672 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005125, allocations: 0 / 0.7325 GB, free: 1.184 MB / 0.698 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 6.323e-05/0.005188, allocations: 107.6 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.005204, allocations: 4 kB / 0.7326 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.46e-05/0.005299, allocations: 41 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.005301, allocations: 0.7656 kB / 0.7326 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.005304, allocations: 5.156 kB / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005308, allocations: 0 / 0.7326 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.005394, allocations: 69.89 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.005396, allocations: 2.062 kB / 0.7327 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.005429, allocations: 7.938 kB / 0.7327 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.005436, allocations: 7.938 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005438, allocations: 0.7656 kB / 0.7327 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.005445, allocations: 4 kB / 0.7327 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.005445, allocations: 0 / 0.7327 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.005449, allocations: 8.672 kB / 0.7327 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.005534, allocations: 132.4 kB / 0.7328 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.005543, allocations: 0 / 0.7328 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.005576, allocations: 8.641 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.005604, allocations: 0.7656 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.005607, allocations: 2.125 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.284e-05/0.00562, allocations: 16.78 kB / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00562, allocations: 0 / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001074/0.005727, allocations: 4 kB / 0.7329 GB, free: 0.7227 MB / 0.698 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 8.185e-05/0.005809, allocations: 85.59 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.005873, allocations: 8.859 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.005879, allocations: 1.875 kB / 0.733 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.005894, allocations: 8.859 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.00605, allocations: 12.56 kB / 0.733 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.006411, allocations: 106.3 kB / 0.7331 GB, free: 476 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.449e-05/0.006445, allocations: 55.36 kB / 0.7331 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.006463, allocations: 2.062 kB / 0.7331 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.006505, allocations: 55.38 kB / 0.7332 GB, free: 344 kB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/0.006506, allocations: 0.7656 kB / 0.7332 GB, free: 344 kB / 0.698 GB Notification: Performance of Templates: time 0.002074/0.00858, allocations: 473.5 kB / 0.7336 GB, free: 15.89 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.996372651308775]