Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001512/0.001512, allocations: 110 kB / 18.93 MB, free: 2.945 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.001428/0.001428, allocations: 191.2 kB / 22.23 MB, free: 5.156 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.562/1.562, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 71.88 kB / 1.062 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9673/0.9695, allocations: 160.8 MB / 1.219 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.003319/0.9728, allocations: 0.6705 MB / 1.219 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.9743, allocations: 0.8083 MB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.9744, allocations: 1.094 kB / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.9744, allocations: 0 / 1.22 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.419e-05/0.9745, allocations: 5.219 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.9747, allocations: 5.188 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.9748, allocations: 24.98 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.975, allocations: 10.39 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.975, allocations: 15.58 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.9751, allocations: 10.33 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.9751, allocations: 6.5 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.9751, allocations: 1.562 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.9752, allocations: 1.219 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.9752, allocations: 10.56 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.9753, allocations: 19.78 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.9753, allocations: 0 / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9753, allocations: 5.094 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.9753, allocations: 0 / 1.22 GB, free: 2.414 MB / 0.92 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.0006573/0.976, allocations: 338.5 kB / 1.22 GB, free: 2.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.976, allocations: 13.38 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.9761, allocations: 2.75 kB / 1.22 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.9763, allocations: 173.6 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.9763, allocations: 1.5 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.9763, allocations: 1.469 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.9766, allocations: 49.14 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.9766, allocations: 1.562 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.9766, allocations: 3.938 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.9766, allocations: 0 / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.9768, allocations: 34.97 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.9773, allocations: 256.9 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.9774, allocations: 38.81 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.643e-05/0.9775, allocations: 26.25 kB / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.9775, allocations: 0 / 1.221 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.9776, allocations: 31.88 kB / 1.221 GB, free: 1.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.9776, allocations: 3.938 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004118/0.978, allocations: 81.36 kB / 1.221 GB, free: 1.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.978, allocations: 55.34 kB / 1.221 GB, free: 1.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.9782, allocations: 107 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.9782, allocations: 25.7 kB / 1.221 GB, free: 1.125 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.9783, allocations: 85.3 kB / 1.221 GB, free: 1.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.9783, allocations: 5.047 kB / 1.221 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.9783, allocations: 16.16 kB / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.9785, allocations: 316 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.9786, allocations: 13.7 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.9787, allocations: 20.95 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.9788, allocations: 40.16 kB / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9788, allocations: 0 / 1.222 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002256/0.9791, allocations: 71.88 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.9791, allocations: 5.219 kB / 1.222 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9791, allocations: 5.188 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9791, allocations: 3.984 kB / 1.222 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.9792, allocations: 10.55 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.9792, allocations: 0 / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.9793, allocations: 7.297 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.9793, allocations: 1.156 kB / 1.222 GB, free: 0.5898 MB / 0.92 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.0001191/0.9794, allocations: 120.3 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.9794, allocations: 0 / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.9797, allocations: 75 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9797, allocations: 4.906 kB / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9797, allocations: 0 / 1.222 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9797, allocations: 5.078 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.9799, allocations: 161.4 kB / 1.222 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9799, allocations: 0 / 1.222 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.98, allocations: 10.8 kB / 1.222 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.98, allocations: 0 / 1.222 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.98, allocations: 5.094 kB / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.98, allocations: 0 / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.98, allocations: 1.094 kB / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.9802, allocations: 159.1 kB / 1.222 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.9803, allocations: 81.06 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.9803, allocations: 5 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.9804, allocations: 16.11 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.9804, allocations: 1.156 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.9805, allocations: 4.906 kB / 1.222 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.9805, allocations: 78.38 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9805, allocations: 0 / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002053/0.9807, allocations: 3.188 kB / 1.223 GB, free: 15.85 MB / 0.9356 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.0001572/0.9809, allocations: 105.7 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.9811, allocations: 40.66 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9811, allocations: 0 / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.9812, allocations: 19.41 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.9815, allocations: 6.312 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.9819, allocations: 108.8 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.9822, allocations: 0.677 MB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.9822, allocations: 5.141 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.9823, allocations: 12.81 kB / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.9823, allocations: 0 / 1.223 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.003601/0.9859, allocations: 441.7 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.351439421996474]