Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001529/0.001529, allocations: 81.08 kB / 19.18 MB, free: 2.516 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.001822/0.001822, allocations: 158.6 kB / 22.46 MB, free: 5.375 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.627/1.627, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.825/2.825, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.329e-05, allocations: 5.234 kB / 0.951 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002388/0.002431, allocations: 0.6679 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.004079, allocations: 0.8354 MB / 0.9525 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.00413, allocations: 4 kB / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.004162, allocations: 0 / 0.9525 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-05/0.004245, allocations: 7.875 kB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.004465, allocations: 19.97 kB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.105e-05/0.004556, allocations: 23.92 kB / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00466, allocations: 8 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.004752, allocations: 11.98 kB / 0.9526 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.004799, allocations: 3.984 kB / 0.9526 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.00482, allocations: 4 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.004874, allocations: 4 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.004893, allocations: 7.938 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.004919, allocations: 7.984 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.005053, allocations: 27.89 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005056, allocations: 0 / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005057, allocations: 4 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005062, allocations: 0 / 0.9526 GB, free: 9.859 MB / 0.8575 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.0005412/0.005603, allocations: 262.3 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.005643, allocations: 11.97 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.005747, allocations: 8.875 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.005877, allocations: 105.8 kB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.005894, allocations: 8.375 kB / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.005902, allocations: 384 / 0.953 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.006115, allocations: 50.23 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006126, allocations: 8.125 kB / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.006136, allocations: 384 / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.006141, allocations: 384 / 0.9531 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.006324, allocations: 39.89 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.006683, allocations: 188.5 kB / 0.9533 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.006827, allocations: 38.59 kB / 0.9533 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.00692, allocations: 20.91 kB / 0.9533 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.00695, allocations: 11.98 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.006978, allocations: 30.56 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.006979, allocations: 0 / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004142/0.007393, allocations: 89.52 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.007448, allocations: 51.41 kB / 0.9535 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.007546, allocations: 93.86 kB / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.007572, allocations: 33.69 kB / 0.9536 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.007628, allocations: 88.27 kB / 0.9537 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.007654, allocations: 7.891 kB / 0.9537 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.363e-05/0.007697, allocations: 13.72 kB / 0.9537 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.007857, allocations: 314.8 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.007941, allocations: 11.98 kB / 0.9541 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.008025, allocations: 23.97 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.008198, allocations: 36.89 kB / 0.9541 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.0082, allocations: 0 / 0.9541 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002353/0.008435, allocations: 69.59 kB / 0.9542 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.008451, allocations: 4 kB / 0.9542 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.008458, allocations: 3.938 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.008476, allocations: 4 kB / 0.9542 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.008567, allocations: 7.984 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008573, allocations: 0 / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.008631, allocations: 11.98 kB / 0.9542 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.008637, allocations: 0 / 0.9542 GB, free: 8.066 MB / 0.8575 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.000109/0.008746, allocations: 117.8 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.008775, allocations: 0 / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.009025, allocations: 76.91 kB / 0.9544 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009027, allocations: 3.938 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.009031, allocations: 0 / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.009033, allocations: 0 / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.009186, allocations: 117.3 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009187, allocations: 3.938 kB / 0.9545 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.009249, allocations: 8 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.009252, allocations: 0 / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.009264, allocations: 3.984 kB / 0.9545 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.009269, allocations: 3.938 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.00927, allocations: 0 / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.009552, allocations: 159.5 kB / 0.9547 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.009564, allocations: 8.031 kB / 0.9547 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.009577, allocations: 4 kB / 0.9547 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.009669, allocations: 7.938 kB / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.009712, allocations: 3.984 kB / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.009715, allocations: 0 / 0.9547 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.009767, allocations: 83.28 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009767, allocations: 3.938 kB / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002271/0.009995, allocations: 7.953 kB / 0.9548 GB, free: 7.402 MB / 0.8575 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.0001452/0.01014, allocations: 95.25 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.01038, allocations: 39.95 kB / 0.9549 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01039, allocations: 0 / 0.9549 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.01048, allocations: 19.98 kB / 0.9549 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01081, allocations: 3.984 kB / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.01116, allocations: 100.9 kB / 0.955 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.052e-05/0.01123, allocations: 63.28 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.01126, allocations: 8.125 kB / 0.9551 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.01129, allocations: 8.5 kB / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.01129, allocations: 0 / 0.9551 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.003111/0.0144, allocations: 471.6 kB / 0.9556 GB, free: 6.559 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.236103165894747]