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.00167/0.00167, allocations: 118.2 kB / 17.13 MB, free: 5.941 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.001954/0.001954, allocations: 194.2 kB / 20.08 MB, free: 3.012 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.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] 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.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.001971/0.001971, allocations: 67.89 kB / 1.057 GB, free: 1.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2901, allocations: 160.7 MB / 1.214 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001787/0.2919, allocations: 0.6567 MB / 1.215 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009471/0.2928, allocations: 0.8079 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.2929, allocations: 7.938 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.2929, allocations: 0 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.293, allocations: 7.875 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.2931, allocations: 4 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.2932, allocations: 31.91 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.2933, allocations: 11.92 kB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.2933, allocations: 8 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.2933, allocations: 15.92 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.2934, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.2934, allocations: 4 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.2934, allocations: 0 / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.2934, allocations: 7.938 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.152e-05/0.2935, allocations: 23.89 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2935, allocations: 7.984 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2935, allocations: 0 / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2935, allocations: 0 / 1.216 GB, free: 15.26 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004818/0.294, allocations: 343.4 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.294, allocations: 8.031 kB / 1.216 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.2941, allocations: 8.891 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.2942, allocations: 160.4 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2942, allocations: 384 / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.2942, allocations: 8.375 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2944, allocations: 50.17 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2944, allocations: 4.188 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2944, allocations: 11.94 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2944, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.2946, allocations: 31.95 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.295, allocations: 241 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.2951, allocations: 42.5 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.2952, allocations: 28.83 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2952, allocations: 0 / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2952, allocations: 30.56 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2952, allocations: 0 / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003692/0.2956, allocations: 85.73 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2956, allocations: 51.41 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.2957, allocations: 98 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2958, allocations: 25.7 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.2958, allocations: 84.14 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.2958, allocations: 7.938 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.2958, allocations: 17.72 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.296, allocations: 310.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/0.2961, allocations: 23.95 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.561e-05/0.2962, allocations: 11.98 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.2963, allocations: 40.81 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2963, allocations: 3.938 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/0.2965, allocations: 77.61 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2965, allocations: 5.875 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2965, allocations: 48 / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2966, allocations: 7.922 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.2966, allocations: 8 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2966, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.2967, allocations: 11.98 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2967, allocations: 3.938 kB / 1.217 GB, free: 13.23 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 (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 8.692e-05/0.2968, allocations: 117.8 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.2968, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.297, allocations: 72.77 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2971, allocations: 4 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2971, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2971, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.2972, allocations: 161.5 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2972, allocations: 0 / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.2973, allocations: 12.02 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2973, allocations: 4 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.2973, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2973, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2973, allocations: 0 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.2976, allocations: 167.4 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.2976, allocations: 85.09 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2976, allocations: 0 / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.2977, allocations: 11.98 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.2978, allocations: 4 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.2978, allocations: 0 / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.607e-05/0.2978, allocations: 83.27 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2978, allocations: 0 / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000217/0.298, allocations: 4 kB / 1.218 GB, free: 12.42 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 (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.0001245/0.2982, allocations: 103.2 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2984, allocations: 35.91 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2984, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.2985, allocations: 19.97 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.2987, allocations: 11.94 kB / 1.218 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.299, allocations: 135.3 kB / 1.218 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.2994, allocations: 0.6768 MB / 1.219 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.2994, allocations: 7.438 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.2994, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of Templates: time 0.001931/0.3013, allocations: 0.554 MB / 1.22 GB, free: 10.81 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.149117629043758]