Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.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_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.000854, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001252/0.001252, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.843/2.843, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 15.94 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.829, allocations: 153.8 MB / 1.022 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.0009599/0.83, allocations: 386.3 kB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001348/0.8302, allocations: 7.938 kB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.8302, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.585e-05/0.8303, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.8304, allocations: 15.92 kB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.912e-05/0.8304, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.674e-05/0.8305, allocations: 31.92 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.8307, allocations: 27.97 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.8307, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.423e-05/0.8308, allocations: 7.938 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.8308, allocations: 3.938 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.8308, allocations: 4 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.8308, allocations: 11.92 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.8309, allocations: 29.7 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.128e-05/0.8309, allocations: 35.94 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.831, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.831, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.831, allocations: 0 / 1.023 GB, free: 15.65 MB / 0.7794 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.000348/0.8313, allocations: 333.3 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8314, allocations: 16.56 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.8314, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.8316, allocations: 186.8 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.8316, allocations: 8 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.8316, allocations: 4 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.8318, allocations: 77.61 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8318, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8319, allocations: 7.938 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8319, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.8319, allocations: 43.97 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.8325, allocations: 491.1 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.001e-05/0.8325, allocations: 169.1 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.8326, allocations: 80.14 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.8326, allocations: 79.22 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/0.8327, allocations: 117.8 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8327, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.876e-05/0.8328, allocations: 29.7 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.8328, allocations: 130.7 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.833, allocations: 178.9 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.833, allocations: 25.7 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.8331, allocations: 92.14 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.8331, allocations: 4 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.8331, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.8333, allocations: 322.8 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.8333, allocations: 4 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.8333, allocations: 7.984 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.8333, allocations: 11.98 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8333, allocations: 0 / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.8335, allocations: 53.59 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8335, allocations: 8.094 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8335, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.8335, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.115e-05/0.8336, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8336, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.8336, allocations: 7.953 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.8336, allocations: 4.047 kB / 1.025 GB, free: 12.97 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.8338, allocations: 201 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.162e-05/0.8338, allocations: 116.9 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.8339, allocations: 112.9 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.407e-05/0.834, allocations: 180.2 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.904e-05/0.834, allocations: 180.3 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/0.8341, allocations: 184.2 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.8343, allocations: 425.2 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/0.8344, allocations: 109 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.8344, allocations: 104.9 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.904e-05/0.8345, allocations: 176.3 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.8346, allocations: 180.2 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-05/0.8346, allocations: 184.2 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.983e-05/0.8347, allocations: 176.3 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.8348, allocations: 315.6 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.8349, allocations: 194 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.835, allocations: 180.3 kB / 1.028 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.8351, allocations: 101 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.8352, allocations: 188.2 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.8352, allocations: 105 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.837e-05/0.8353, allocations: 136.7 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8353, allocations: 0 / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00022/0.8355, allocations: 4 kB / 1.029 GB, free: 9.273 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.8357, allocations: 182.5 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.8358, allocations: 12.28 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8358, allocations: 0 / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.8358, allocations: 0 / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.8362, allocations: 0.5302 MB / 1.029 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.8365, allocations: 222 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.8368, allocations: 0.6887 MB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.8368, allocations: 11.98 kB / 1.03 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.8368, allocations: 7.438 kB / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8368, allocations: 0 / 1.03 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of Templates: time 0.002675/0.8395, allocations: 442.2 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches