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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001192/0.001192, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001226/0.001226, allocations: 190.8 kB / 16.91 MB, free: 5.746 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.53 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2733, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002134/0.2755, allocations: 0.7104 MB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.2757, allocations: 15.91 kB / 0.9505 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.2757, allocations: 3.938 kB / 0.9505 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2759, allocations: 4 kB / 0.9505 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.2759, allocations: 8 kB / 0.9505 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.637e-05/0.276, allocations: 0 / 0.9505 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.2761, allocations: 27.92 kB / 0.9505 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2763, allocations: 27.98 kB / 0.9506 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.2763, allocations: 15.94 kB / 0.9506 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.2763, allocations: 15.92 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.2764, allocations: 0 / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.2764, allocations: 4 kB / 0.9506 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.2764, allocations: 15.92 kB / 0.9506 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.2765, allocations: 19.88 kB / 0.9506 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.619e-05/0.2766, allocations: 31.94 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2766, allocations: 0 / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2766, allocations: 4 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.2766, allocations: 0 / 0.9507 GB, free: 8.293 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.0003797/0.277, allocations: 355.6 kB / 0.951 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.277, allocations: 8.031 kB / 0.951 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.2771, allocations: 8.844 kB / 0.951 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2772, allocations: 176.3 kB / 0.9512 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.2773, allocations: 8.375 kB / 0.9512 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2773, allocations: 384 / 0.9512 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2775, allocations: 78.17 kB / 0.9513 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2775, allocations: 8.172 kB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2775, allocations: 7.938 kB / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2775, allocations: 0 / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.2776, allocations: 47.97 kB / 0.9513 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.2782, allocations: 493.1 kB / 0.9518 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.2783, allocations: 165.1 kB / 0.952 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.2783, allocations: 96.09 kB / 0.9521 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.2784, allocations: 75.28 kB / 0.9521 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.145e-05/0.2784, allocations: 113.8 kB / 0.9522 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2784, allocations: 0 / 0.9522 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.641e-05/0.2785, allocations: 29.61 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.2786, allocations: 130.7 kB / 0.9524 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.2788, allocations: 176.1 kB / 0.9526 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2788, allocations: 25.7 kB / 0.9526 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.2789, allocations: 100 kB / 0.9527 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.2789, allocations: 0 / 0.9527 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2789, allocations: 13.72 kB / 0.9527 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.279, allocations: 322.8 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.2791, allocations: 7.938 kB / 0.953 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.2791, allocations: 11.98 kB / 0.953 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.2791, allocations: 12.92 kB / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2791, allocations: 0 / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001178/0.2793, allocations: 53.67 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2793, allocations: 4 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2793, allocations: 0 / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2793, allocations: 0 / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.2794, allocations: 4.109 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2794, allocations: 7.875 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.2794, allocations: 11.84 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2795, allocations: 4.031 kB / 0.9531 GB, free: 5.562 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 9.981e-05/0.2796, allocations: 201 kB / 0.9533 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.2796, allocations: 108.9 kB / 0.9534 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.2797, allocations: 120.6 kB / 0.9535 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-05/0.2798, allocations: 184.2 kB / 0.9537 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.427e-05/0.2799, allocations: 184.2 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.582e-05/0.28, allocations: 184.2 kB / 0.9541 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.2803, allocations: 417.2 kB / 0.9544 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/0.2803, allocations: 109 kB / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.2804, allocations: 104.9 kB / 0.9547 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-05/0.2804, allocations: 176.3 kB / 0.9548 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.2805, allocations: 184.2 kB / 0.955 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.746e-05/0.2806, allocations: 180.3 kB / 0.9552 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.998e-05/0.2807, allocations: 184.2 kB / 0.9553 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.2808, allocations: 308 kB / 0.9556 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2809, allocations: 197.9 kB / 0.9558 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.2811, allocations: 184.3 kB / 0.956 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.2812, allocations: 108.9 kB / 0.9561 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.2813, allocations: 184.1 kB / 0.9563 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.2813, allocations: 101 kB / 0.9564 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001301/0.2815, allocations: 135.2 kB / 0.9565 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2815, allocations: 0 / 0.9565 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002376/0.2817, allocations: 8 kB / 0.9565 GB, free: 1.852 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.0002474/0.282, allocations: 174.5 kB / 0.9567 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2821, allocations: 15.92 kB / 0.9567 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2821, allocations: 0 / 0.9567 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.2821, allocations: 0 / 0.9567 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.2827, allocations: 459.8 kB / 0.9571 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.283, allocations: 250 kB / 0.9574 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.2834, allocations: 0.7 MB / 0.9581 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.2834, allocations: 7.438 kB / 0.9581 GB, free: 196 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2834, allocations: 4 kB / 0.9581 GB, free: 192 kB / 0.7325 GB Notification: Performance of Templates: time 0.002263/0.2857, allocations: 0.7613 MB / 0.9588 GB, free: 15.43 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 -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