Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100.5 kB / 16.36 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 193.3 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.44 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001931/0.305, allocations: 0.655 MB / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.3051, allocations: 7.938 kB / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.3052, allocations: 4 kB / 0.9518 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.723e-05/0.3053, allocations: 3.938 kB / 0.9518 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.3053, allocations: 0 / 0.9518 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.547e-05/0.3054, allocations: 3.984 kB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.3055, allocations: 35.86 kB / 0.9518 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3056, allocations: 39.97 kB / 0.9519 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.3057, allocations: 15.94 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.3057, allocations: 15.92 kB / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3057, allocations: 0 / 0.9519 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.3058, allocations: 4 kB / 0.9519 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.3058, allocations: 11.94 kB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.3058, allocations: 15.88 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.3059, allocations: 47.86 kB / 0.952 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3059, allocations: 0 / 0.952 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3059, allocations: 3.938 kB / 0.952 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.306, allocations: 4 kB / 0.952 GB, free: 7.211 MB / 0.7325 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.0004119/0.3064, allocations: 359.3 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3064, allocations: 8.031 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.3065, allocations: 8.844 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3066, allocations: 176.3 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3066, allocations: 4.375 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3067, allocations: 4.375 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3068, allocations: 78.16 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3068, allocations: 192 / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3069, allocations: 15.94 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3069, allocations: 0 / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/0.3069, allocations: 43.97 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.3074, allocations: 487 kB / 0.9531 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.916e-05/0.3075, allocations: 177.1 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.3076, allocations: 84.14 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.3076, allocations: 83.22 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.3076, allocations: 105.8 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.3077, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.536e-05/0.3077, allocations: 33.61 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.3078, allocations: 126.7 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.308, allocations: 175.6 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.308, allocations: 29.7 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.308, allocations: 100 kB / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3081, allocations: 0 / 0.954 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.3081, allocations: 9.719 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.3082, allocations: 322.8 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.3082, allocations: 4 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.3082, allocations: 18.03 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.3083, allocations: 12.92 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3083, allocations: 8 kB / 0.9544 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001064/0.3084, allocations: 49.67 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3084, allocations: 4 kB / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3084, allocations: 0 / 0.9544 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3084, allocations: 4 kB / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.3085, allocations: 0 / 0.9544 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3085, allocations: 3.938 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.3085, allocations: 11.84 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3086, allocations: 4 kB / 0.9544 GB, free: 4.484 MB / 0.7325 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 8.961e-05/0.3086, allocations: 197.1 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3087, allocations: 112.8 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.3088, allocations: 116.8 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/0.3088, allocations: 180.2 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.754e-05/0.3089, allocations: 180.2 kB / 0.9552 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.715e-05/0.309, allocations: 184.3 kB / 0.9554 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.3092, allocations: 421.1 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.78e-05/0.3092, allocations: 105.1 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.3093, allocations: 108.9 kB / 0.956 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.206e-05/0.3093, allocations: 180.3 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/0.3094, allocations: 180.3 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.574e-05/0.3094, allocations: 184.2 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.304e-05/0.3095, allocations: 188.2 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.3096, allocations: 303.8 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.3097, allocations: 193.9 kB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.3098, allocations: 184.2 kB / 0.9573 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.3099, allocations: 101.3 kB / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.3099, allocations: 192.1 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.31, allocations: 109 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.3101, allocations: 133.7 kB / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3101, allocations: 0 / 0.9578 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002295/0.3103, allocations: 4 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 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.0001672/0.3105, allocations: 178.5 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.3106, allocations: 19.92 kB / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3106, allocations: 0 / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3106, allocations: 0 / 0.958 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.311, allocations: 463.8 kB / 0.9585 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.3113, allocations: 204.6 kB / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3115, allocations: 0.696 MB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.3116, allocations: 11.98 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.3116, allocations: 11.44 kB / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of SimCode: time 3.5e-07/0.3116, allocations: 0 / 0.9594 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.002457/0.314, allocations: 466.6 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches