Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.9 MB, free: 3.195 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 443.5 MB / 0.731 GB, free: 13.97 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 1.06 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3385, allocations: 160.7 MB / 1.217 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00183/0.3404, allocations: 0.5739 MB / 1.217 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.735e-05/0.3404, allocations: 7.938 kB / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.3404, allocations: 0 / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.3405, allocations: 4 kB / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.571e-05/0.3405, allocations: 0 / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.724e-05/0.3405, allocations: 0 / 1.217 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.3406, allocations: 3.984 kB / 1.217 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.3407, allocations: 3.984 kB / 1.217 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.507e-05/0.3407, allocations: 4 kB / 1.217 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.766e-05/0.3407, allocations: 0 / 1.217 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3407, allocations: 3.938 kB / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.437e-06/0.3407, allocations: 4 kB / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3407, allocations: 0 / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.3407, allocations: 4 kB / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.324e-05/0.3408, allocations: 0 / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3408, allocations: 0 / 1.217 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3408, allocations: 7.938 kB / 1.217 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3408, allocations: 0 / 1.217 GB, free: 14.87 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003799/0.3412, allocations: 319.5 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3412, allocations: 12.06 kB / 1.218 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.3412, allocations: 0.9375 kB / 1.218 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3414, allocations: 164.4 kB / 1.218 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3414, allocations: 4.375 kB / 1.218 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3414, allocations: 384 / 1.218 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.341e-05/0.3415, allocations: 34.25 kB / 1.218 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3415, allocations: 192 / 1.218 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.3415, allocations: 3.938 kB / 1.218 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3415, allocations: 0 / 1.218 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.404e-05/0.3415, allocations: 0 / 1.218 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.3419, allocations: 395.4 kB / 1.218 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.342, allocations: 173.1 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.3421, allocations: 80.14 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.3421, allocations: 75.28 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.3421, allocations: 109.8 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3421, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.3422, allocations: 33.64 kB / 1.219 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.3423, allocations: 126.7 kB / 1.219 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.3424, allocations: 93.86 kB / 1.219 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.3424, allocations: 25.7 kB / 1.219 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.3425, allocations: 88.12 kB / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3425, allocations: 128 / 1.219 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.3425, allocations: 13.72 kB / 1.219 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3427, allocations: 314.8 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.3427, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/0.3427, allocations: 0 / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.3427, allocations: 75.28 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.969e-05/0.3427, allocations: 75.28 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.934e-05/0.3428, allocations: 37.58 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.3428, allocations: 81 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/0.3429, allocations: 83.28 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.849e-05/0.343, allocations: 154.5 kB / 1.22 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-05/0.343, allocations: 79.22 kB / 1.22 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.861e-05/0.3431, allocations: 150.6 kB / 1.22 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.136e-05/0.3432, allocations: 87.22 kB / 1.22 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.3432, allocations: 75.28 kB / 1.22 GB, free: 11.73 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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.0001372/0.3433, allocations: 264.3 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.3434, allocations: 109.6 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.3435, allocations: 108.1 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.349e-05/0.3435, allocations: 180.2 kB / 1.221 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/0.3436, allocations: 184.2 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.997e-05/0.3437, allocations: 192.3 kB / 1.221 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.344, allocations: 405.4 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.3441, allocations: 101 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.3441, allocations: 105 kB / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.812e-05/0.3442, allocations: 188.2 kB / 1.222 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.3443, allocations: 188.2 kB / 1.222 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.753e-05/0.3444, allocations: 184.2 kB / 1.222 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.124e-05/0.3445, allocations: 176.3 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.3446, allocations: 307.7 kB / 1.223 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3447, allocations: 186.1 kB / 1.223 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.3448, allocations: 184.2 kB / 1.223 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.168e-05/0.3449, allocations: 101 kB / 1.223 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.345, allocations: 180.3 kB / 1.223 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.186e-05/0.3451, allocations: 108.9 kB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.3451, allocations: 79.27 kB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3451, allocations: 0 / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002395/0.3453, allocations: 4.094 kB / 1.223 GB, free: 8.047 MB / 0.9669 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 (0): * Single equations (assignments): 0 * 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.0001822/0.3455, allocations: 174.5 kB / 1.224 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.37e-05/0.3456, allocations: 0 / 1.224 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3456, allocations: 0 / 1.224 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.3456, allocations: 4 kB / 1.224 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.346, allocations: 471.6 kB / 1.224 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.3463, allocations: 185.9 kB / 1.224 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3466, allocations: 0.669 MB / 1.225 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.3466, allocations: 11.44 kB / 1.225 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.3466, allocations: 0 / 1.225 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of Templates: time 0.001745/0.3484, allocations: 323.8 kB / 1.225 GB, free: 6.156 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches