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.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.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.001369/0.001369, allocations: 101.1 kB / 16.27 MB, free: 5.969 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.001469/0.001469, allocations: 194.8 kB / 17.2 MB, free: 5.594 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.186/2.186, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.67 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2705, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002017/0.2725, allocations: 0.7039 MB / 0.951 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.2734, allocations: 0.81 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.2735, allocations: 0 / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.2735, allocations: 7.922 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.2736, allocations: 3.938 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.425e-05/0.2737, allocations: 11.98 kB / 0.9518 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.2738, allocations: 43.92 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.2739, allocations: 7.984 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.274, allocations: 27.86 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.274, allocations: 19.91 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.2741, allocations: 4 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.2741, allocations: 4 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.2741, allocations: 7.938 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.2741, allocations: 19.92 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.079e-05/0.2742, allocations: 35.88 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2742, allocations: 4 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2742, allocations: 0 / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2743, allocations: 0 / 0.952 GB, free: 7.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005033/0.2748, allocations: 367.6 kB / 0.9523 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2748, allocations: 12.03 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.2748, allocations: 0.9375 kB / 0.9523 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.275, allocations: 176.2 kB / 0.9525 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.275, allocations: 4.312 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.275, allocations: 12.38 kB / 0.9525 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2753, allocations: 62.22 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2753, allocations: 192 / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2753, allocations: 7.938 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2753, allocations: 3.938 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.2756, allocations: 67.92 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.276, allocations: 261 kB / 0.9529 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2762, allocations: 58.47 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.2763, allocations: 40.92 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.2764, allocations: 3.984 kB / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2764, allocations: 42.48 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2764, allocations: 0 / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005483/0.277, allocations: 133.4 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.277, allocations: 59.41 kB / 0.9532 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.2771, allocations: 105.8 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2771, allocations: 25.7 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2772, allocations: 92.12 kB / 0.9534 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.2772, allocations: 3.906 kB / 0.9534 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.2772, allocations: 13.72 kB / 0.9534 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2774, allocations: 318.8 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2775, allocations: 31.95 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2777, allocations: 35.91 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.278, allocations: 64.78 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.278, allocations: 11.94 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003362/0.2783, allocations: 97.53 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2784, allocations: 4 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2784, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2784, allocations: 0 / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.2785, allocations: 19.97 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2785, allocations: 4 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.2786, allocations: 7.984 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2786, allocations: 4 kB / 0.954 GB, free: 4.809 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 (3): * Single equations (assignments): 3 * 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.314e-05/0.2787, allocations: 117.7 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.2788, allocations: 4 kB / 0.9541 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003662/0.2791, allocations: 105.5 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2791, allocations: 7.938 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2792, allocations: 0 / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2792, allocations: 3.984 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2793, allocations: 173.5 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2793, allocations: 0 / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.2794, allocations: 11.98 kB / 0.9544 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2795, allocations: 4 kB / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2795, allocations: 0 / 0.9544 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2795, allocations: 4 kB / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2795, allocations: 0 / 0.9544 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.2799, allocations: 195.3 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.2799, allocations: 85.05 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2799, allocations: 4 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.2801, allocations: 12.41 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2801, allocations: 7.984 kB / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2801, allocations: 0 / 0.9547 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.2802, allocations: 91.27 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2802, allocations: 0 / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002291/0.2804, allocations: 7.906 kB / 0.9548 GB, free: 3.887 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 (3): * Single equations (assignments): 3 * 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.0002125/0.2806, allocations: 103.2 kB / 0.9549 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.281, allocations: 79.84 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.281, allocations: 0 / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.2812, allocations: 35.97 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2815, allocations: 13.3 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.2819, allocations: 151.3 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2822, allocations: 0.6844 MB / 0.9558 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.2822, allocations: 7.438 kB / 0.9559 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.2822, allocations: 0 / 0.9559 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.002181/0.2844, allocations: 0.7499 MB / 0.9566 GB, free: 2.016 MB / 0.7325 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/jenkins1/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