Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001382/0.001382, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00182/0.00182, allocations: 221.2 kB / 23 MB, free: 4.914 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.189/3.189, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 76.14 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3092, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001965/0.3112, allocations: 0.6506 MB / 1.327 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001529/0.3113, allocations: 11.94 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.3114, allocations: 0 / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.3115, allocations: 7.938 kB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.3115, allocations: 0 / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.147e-05/0.3116, allocations: 7.984 kB / 1.327 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3117, allocations: 35.84 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3118, allocations: 19.98 kB / 1.327 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.58e-05/0.3118, allocations: 8 kB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.3119, allocations: 19.86 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3119, allocations: 4 kB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.3119, allocations: 4 kB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.312, allocations: 8 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.312, allocations: 15.88 kB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3121, allocations: 55.73 kB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3121, allocations: 0 / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3121, allocations: 0 / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3121, allocations: 0 / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003708/0.3125, allocations: 282.2 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3125, allocations: 8.031 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3126, allocations: 8.891 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3127, allocations: 118.5 kB / 1.328 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3128, allocations: 8.375 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3128, allocations: 384 / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3129, allocations: 74.23 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3129, allocations: 4.172 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3129, allocations: 7.938 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3129, allocations: 0 / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.313, allocations: 55.91 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.3135, allocations: 423.2 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3136, allocations: 173.1 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.3137, allocations: 84.17 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.3137, allocations: 75.28 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.3138, allocations: 105.8 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3138, allocations: 0 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.197e-05/0.3138, allocations: 33.7 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.3139, allocations: 130.6 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.314, allocations: 121.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.314, allocations: 29.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.3141, allocations: 104 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3141, allocations: 7.938 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3142, allocations: 9.719 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3143, allocations: 318.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.3143, allocations: 11.98 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.3143, allocations: 4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.3144, allocations: 16.84 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3144, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001242/0.3145, allocations: 49.69 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3145, allocations: 4.094 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3145, allocations: 8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3145, allocations: 3.984 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.3146, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3146, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.3146, allocations: 7.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3146, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0001266/0.3147, allocations: 193.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.177e-05/0.3148, allocations: 109 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.3149, allocations: 112.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.371e-05/0.315, allocations: 180.2 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.335e-05/0.3151, allocations: 184.2 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.01e-05/0.3152, allocations: 188.1 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3154, allocations: 364.9 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.3155, allocations: 101 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.3155, allocations: 108.9 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.749e-05/0.3156, allocations: 180.2 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.3157, allocations: 180.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.738e-05/0.3158, allocations: 184.3 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001029/0.3159, allocations: 180.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.316, allocations: 311.8 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.3161, allocations: 112.9 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.366e-05/0.3162, allocations: 180.3 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.3163, allocations: 105.2 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.3164, allocations: 180.2 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.3164, allocations: 105 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.978e-05/0.3165, allocations: 103.6 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3165, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002314/0.3167, allocations: 11.89 kB / 1.333 GB, free: 11.04 MB / 1.029 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.0001463/0.3169, allocations: 174.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.3169, allocations: 15.97 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3169, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.3169, allocations: 8 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.3174, allocations: 459.6 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3177, allocations: 233.9 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.153e-05/0.3178, allocations: 75.33 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.3178, allocations: 11.44 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3178, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of Templates: time 0.0021/0.3199, allocations: 0.6503 MB / 1.334 GB, free: 9.363 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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: 11.127236832864583]