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.0008878/0.0008878, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009954/0.0009954, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8964/0.8964, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773/1.773, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.943e-06/1.943e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.476e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001172/0.001197, allocations: 0.66 MB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.001928, allocations: 0.8315 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.001966, allocations: 3.938 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.001993, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.002051, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.002236, allocations: 15.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.758e-05/0.002304, allocations: 23.92 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.002391, allocations: 3.984 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.002457, allocations: 15.98 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.958e-05/0.002487, allocations: 4 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.0025, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.692e-05/0.002537, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.002553, allocations: 11.92 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.002567, allocations: 0 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.002663, allocations: 31.89 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.002665, allocations: 7.984 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002666, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002669, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 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.000331/0.003001, allocations: 262.3 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.003036, allocations: 8.75 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.003112, allocations: 4.938 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.003188, allocations: 101.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.003199, allocations: 8.312 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.003207, allocations: 8.297 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.003329, allocations: 54.23 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.003337, allocations: 192 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003345, allocations: 384 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.00335, allocations: 384 / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.731e-05/0.003437, allocations: 39.89 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.003687, allocations: 188.6 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.277e-05/0.00377, allocations: 38.5 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.003816, allocations: 28.89 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.003838, allocations: 0 / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.003859, allocations: 34.56 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.003859, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002192/0.004079, allocations: 89.53 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.00411, allocations: 55.34 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.084e-05/0.004161, allocations: 93.86 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.004171, allocations: 29.83 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.004203, allocations: 84.14 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.004221, allocations: 15.88 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.004242, allocations: 9.719 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.004314, allocations: 318.8 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.004353, allocations: 11.98 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.004388, allocations: 23.91 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.004461, allocations: 40.89 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004462, allocations: 0 / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.389e-05/0.004556, allocations: 65.66 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004567, allocations: 7.938 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.004574, allocations: 7.938 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.004585, allocations: 0 / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.004638, allocations: 11.98 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.004642, allocations: 0 / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.004663, allocations: 8.031 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004667, allocations: 0 / 1.004 GB, free: 9.496 MB / 0.9636 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 4.814e-05/0.004715, allocations: 113.8 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.004726, allocations: 0 / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.004856, allocations: 72.89 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004858, allocations: 4 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.004862, allocations: 3.938 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.004865, allocations: 32 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.869e-05/0.004944, allocations: 109.3 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.004945, allocations: 3.984 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.004968, allocations: 8 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.00497, allocations: 3.938 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.004975, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.004976, allocations: 3.938 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004977, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.00509, allocations: 159.5 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.005095, allocations: 4.031 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.005104, allocations: 7.984 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.005141, allocations: 7.938 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.00517, allocations: 4.172 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.005173, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.422e-05/0.005197, allocations: 83.27 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005197, allocations: 0 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00014/0.005337, allocations: 8 kB / 1.005 GB, free: 8.844 MB / 0.9636 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 7.257e-05/0.005409, allocations: 95.25 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.005524, allocations: 39.89 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.005526, allocations: 4 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.005562, allocations: 11.98 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.005766, allocations: 9.562 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.005996, allocations: 139.2 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.006038, allocations: 63.47 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.00606, allocations: 12.44 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.00606, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of Templates: time 0.001306/0.007366, allocations: 0.5512 MB / 1.006 GB, free: 7.867 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 800] 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: 6.564342108555138]