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.001664/0.001664, allocations: 114.8 kB / 16.37 MB, free: 6.004 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.00152/0.00152, allocations: 196 kB / 17.31 MB, free: 5.613 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.434/2.434, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.06 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3312, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002217/0.3335, allocations: 0.6494 MB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000152/0.3337, allocations: 8 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.3337, allocations: 4 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.3338, allocations: 7.922 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.3339, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.066e-05/0.334, allocations: 4 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.3341, allocations: 31.86 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.3342, allocations: 31.98 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.966e-05/0.3342, allocations: 15.98 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.3343, allocations: 19.86 kB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3343, allocations: 0 / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.3343, allocations: 4 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.3344, allocations: 8 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.3344, allocations: 19.86 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.3345, allocations: 47.81 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3345, allocations: 0 / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3345, allocations: 0 / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3345, allocations: 4 kB / 1.02 GB, free: 8.973 MB / 0.795 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.0003772/0.3349, allocations: 359.3 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.335, allocations: 8.031 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.335, allocations: 12.78 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3352, allocations: 176.3 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3352, allocations: 4.375 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3353, allocations: 4.375 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.3354, allocations: 78.16 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3354, allocations: 192 / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3355, allocations: 15.94 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3355, allocations: 0 / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/0.3355, allocations: 47.91 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.3361, allocations: 483.1 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.3362, allocations: 173.1 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.3363, allocations: 84.14 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3363, allocations: 75.28 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.3364, allocations: 109.8 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.3364, allocations: 0 / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.81e-05/0.3365, allocations: 33.61 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.3365, allocations: 130.6 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3367, allocations: 177.7 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.3367, allocations: 29.7 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.3368, allocations: 100 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-06/0.3368, allocations: 112 / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3369, allocations: 13.66 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.337, allocations: 322.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.337, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.337, allocations: 11.98 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.788e-05/0.3371, allocations: 16.92 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3371, allocations: 4 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001164/0.3372, allocations: 57.52 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3372, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3372, allocations: 4 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3372, allocations: 0 / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/0.3373, allocations: 0 / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.3373, allocations: 3.938 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.3374, allocations: 11.92 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3374, allocations: 4 kB / 1.022 GB, free: 6.234 MB / 0.795 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.0001032/0.3375, allocations: 197.1 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.3375, allocations: 108.9 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/0.3376, allocations: 116.8 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.006e-05/0.3377, allocations: 180.3 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.225e-05/0.3377, allocations: 180.2 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.427e-05/0.3378, allocations: 189.7 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.338, allocations: 421.2 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.139e-05/0.3381, allocations: 104.9 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.3381, allocations: 101 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.789e-05/0.3382, allocations: 180.3 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.3383, allocations: 184.2 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001197/0.3384, allocations: 184.3 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.956e-05/0.3385, allocations: 192.1 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.3387, allocations: 303.8 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.3389, allocations: 194 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.339, allocations: 180.3 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3391, allocations: 105.2 kB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.3392, allocations: 184.2 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.3392, allocations: 109 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001286/0.3394, allocations: 133.7 kB / 1.025 GB, free: 2.543 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3394, allocations: 0 / 1.025 GB, free: 2.543 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002331/0.3396, allocations: 4 kB / 1.025 GB, free: 2.539 MB / 0.795 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.0001725/0.3398, allocations: 186.5 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.3399, allocations: 12 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3399, allocations: 3.938 kB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.3399, allocations: 0 / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.3404, allocations: 459.8 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.3407, allocations: 220.2 kB / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.3409, allocations: 0.6943 MB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.341, allocations: 11.98 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.341, allocations: 7.438 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.341, allocations: 0 / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of Templates: time 0.002447/0.3434, allocations: 464.5 kB / 1.027 GB, free: 452 kB / 0.795 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 -s gbode -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/jenkins1/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