Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 86.64 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.001278/0.001278, 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.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.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.633/2.633, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 19.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8398, allocations: 142.4 MB / 0.9545 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0008828/0.8408, allocations: 422.2 kB / 0.9549 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000826/0.8416, allocations: 0.805 MB / 0.9557 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.8417, allocations: 0 / 0.9557 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.8417, allocations: 7.938 kB / 0.9557 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.8418, allocations: 1.188 kB / 0.9557 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.8419, allocations: 10.27 kB / 0.9557 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.842, allocations: 42.09 kB / 0.9557 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.8421, allocations: 8.469 kB / 0.9557 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.8422, allocations: 14.14 kB / 0.9557 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.8423, allocations: 20.66 kB / 0.9558 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.8423, allocations: 2.219 kB / 0.9558 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.8423, allocations: 5.688 kB / 0.9558 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.8424, allocations: 8.703 kB / 0.9558 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.8424, allocations: 32.55 kB / 0.9558 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.133e-05/0.8425, allocations: 24.78 kB / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8425, allocations: 1.438 kB / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8425, allocations: 0 / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.8425, allocations: 0 / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005518/0.8431, allocations: 367.2 kB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.8431, allocations: 9.375 kB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.8432, allocations: 10.86 kB / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.8433, allocations: 169.1 kB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.8433, allocations: 1.25 kB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.8433, allocations: 1.312 kB / 0.9564 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.8436, allocations: 81.44 kB / 0.9564 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.8436, allocations: 0 / 0.9564 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.8436, allocations: 3.938 kB / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8436, allocations: 1.219 kB / 0.9564 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.8439, allocations: 94.44 kB / 0.9565 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.8443, allocations: 270.5 kB / 0.9568 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.8445, allocations: 62.36 kB / 0.9569 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.8447, allocations: 53.31 kB / 0.9569 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.8447, allocations: 4.922 kB / 0.9569 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.8447, allocations: 35.31 kB / 0.9569 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.8447, allocations: 0 / 0.9569 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005259/0.8453, allocations: 171.3 kB / 0.9571 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.8453, allocations: 52.47 kB / 0.9572 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.8454, allocations: 111.1 kB / 0.9573 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.8454, allocations: 25.7 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.8454, allocations: 82.42 kB / 0.9574 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.8454, allocations: 16.97 kB / 0.9574 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.8454, allocations: 0 / 0.9574 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.8455, allocations: 320 kB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.8456, allocations: 39.41 kB / 0.9577 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.8458, allocations: 53.33 kB / 0.9578 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.8459, allocations: 36.38 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8459, allocations: 1.094 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002842/0.8462, allocations: 121 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.8462, allocations: 6.562 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8462, allocations: 4 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.8463, allocations: 3.953 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.8464, allocations: 23.53 kB / 0.958 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.8464, allocations: 1.469 kB / 0.958 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.8465, allocations: 22.61 kB / 0.958 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.8465, allocations: 1.469 kB / 0.958 GB, free: 4.742 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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 5.686e-05/0.8466, allocations: 108.3 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.8466, allocations: 9.078 kB / 0.9581 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.8469, allocations: 132.4 kB / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.847, allocations: 0 / 0.9582 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.847, allocations: 5.359 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.847, allocations: 0 / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8471, allocations: 168.9 kB / 0.9584 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8471, allocations: 5.719 kB / 0.9584 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.459e-05/0.8472, allocations: 18.05 kB / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.8472, allocations: 2.062 kB / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.8472, allocations: 0 / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.8472, allocations: 0 / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8472, allocations: 0 / 0.9584 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.8475, allocations: 228.3 kB / 0.9586 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.8476, allocations: 86.58 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.8476, allocations: 0 / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8477, allocations: 19.92 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.8478, allocations: 5.641 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.8478, allocations: 1.656 kB / 0.9587 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.8478, allocations: 92.81 kB / 0.9588 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8478, allocations: 0 / 0.9588 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002153/0.848, allocations: 10.25 kB / 0.9588 GB, free: 3.938 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.0001364/0.8482, allocations: 101.4 kB / 0.9589 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.8485, allocations: 94.36 kB / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8485, allocations: 0 / 0.959 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.8487, allocations: 50.41 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.849, allocations: 7.578 kB / 0.9591 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.8492, allocations: 125.5 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.8494, allocations: 0.6798 MB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.8494, allocations: 5.375 kB / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.8494, allocations: 10.19 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8494, allocations: 0 / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.002614/0.852, allocations: 0.5226 MB / 0.9604 GB, free: 2.676 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches