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.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.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.001137/0.001137, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001363/0.001363, allocations: 177.3 kB / 15.94 MB, free: 228 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.322/2.322, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 15.98 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6324/0.6327, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0007557/0.6335, allocations: 380.8 kB / 0.9539 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000119/0.6336, allocations: 10.19 kB / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.6337, allocations: 1.031 kB / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.476e-05/0.6338, allocations: 0 / 0.9539 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.803e-05/0.6338, allocations: 8.953 kB / 0.9539 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.587e-05/0.6339, allocations: 2.25 kB / 0.9539 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.6339, allocations: 17.95 kB / 0.9539 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.6341, allocations: 32.11 kB / 0.954 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.6341, allocations: 6.172 kB / 0.954 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.6341, allocations: 10.34 kB / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.6342, allocations: 1 kB / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.6342, allocations: 5.625 kB / 0.954 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.6342, allocations: 6.156 kB / 0.954 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.6342, allocations: 26.92 kB / 0.954 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.861e-05/0.6343, allocations: 38.92 kB / 0.9541 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6343, allocations: 1.188 kB / 0.9541 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6343, allocations: 0 / 0.9541 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6343, allocations: 3.938 kB / 0.9541 GB, free: 7.707 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002817/0.6346, allocations: 347.5 kB / 0.9544 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6347, allocations: 9.594 kB / 0.9544 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.6347, allocations: 10.95 kB / 0.9544 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.6349, allocations: 174.4 kB / 0.9546 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6349, allocations: 6.25 kB / 0.9546 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.6349, allocations: 3.438 kB / 0.9546 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.635, allocations: 78.66 kB / 0.9547 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6351, allocations: 0 / 0.9547 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6351, allocations: 4 kB / 0.9547 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6351, allocations: 5.656 kB / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.6352, allocations: 52.48 kB / 0.9547 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.6356, allocations: 483.7 kB / 0.9552 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.6356, allocations: 178.3 kB / 0.9554 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.6357, allocations: 75.28 kB / 0.9554 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.6357, allocations: 111.2 kB / 0.9555 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.6357, allocations: 112 / 0.9555 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.969e-05/0.6358, allocations: 36.67 kB / 0.9556 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.6358, allocations: 131.8 kB / 0.9557 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.636, allocations: 169.7 kB / 0.9559 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.636, allocations: 25.7 kB / 0.9559 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.636, allocations: 104 kB / 0.956 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.636, allocations: 0 / 0.956 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.636, allocations: 0 / 0.956 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.6361, allocations: 313.2 kB / 0.9563 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.6361, allocations: 12.83 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.6361, allocations: 3.438 kB / 0.9563 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.6362, allocations: 13.58 kB / 0.9563 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6362, allocations: 0 / 0.9563 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001158/0.6363, allocations: 55.73 kB / 0.9564 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6363, allocations: 9.25 kB / 0.9564 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6363, allocations: 0 / 0.9564 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6363, allocations: 4.891 kB / 0.9564 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.6364, allocations: 3.344 kB / 0.9564 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6364, allocations: 7.875 kB / 0.9564 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.6365, allocations: 3.5 kB / 0.9564 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.6365, allocations: 1.125 kB / 0.9564 GB, free: 5.336 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 (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 6.385e-05/0.6365, allocations: 191.1 kB / 0.9566 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.6366, allocations: 120.2 kB / 0.9567 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.6366, allocations: 112.3 kB / 0.9568 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.6367, allocations: 185.2 kB / 0.957 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/0.6367, allocations: 177.3 kB / 0.9571 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.6367, allocations: 181.8 kB / 0.9573 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.6369, allocations: 425.7 kB / 0.9577 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.6369, allocations: 102 kB / 0.9578 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.6369, allocations: 110.2 kB / 0.9579 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/0.6369, allocations: 184.2 kB / 0.9581 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.637, allocations: 182.9 kB / 0.9583 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.801e-05/0.637, allocations: 177.4 kB / 0.9584 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.461e-05/0.637, allocations: 185.3 kB / 0.9586 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.236e-05/0.6371, allocations: 305.4 kB / 0.9589 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.6372, allocations: 190.5 kB / 0.9591 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.6372, allocations: 185.2 kB / 0.9593 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.456e-05/0.6373, allocations: 114.9 kB / 0.9594 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.6373, allocations: 185.2 kB / 0.9596 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.6373, allocations: 102 kB / 0.9596 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.592e-05/0.6374, allocations: 128.7 kB / 0.9598 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6374, allocations: 0 / 0.9598 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002206/0.6377, allocations: 9.469 kB / 0.9598 GB, free: 1.715 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 (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.0001226/0.6378, allocations: 177.8 kB / 0.96 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.6379, allocations: 12.39 kB / 0.96 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6379, allocations: 1.562 kB / 0.96 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.6379, allocations: 0 / 0.96 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.6381, allocations: 0.5226 MB / 0.9605 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.6384, allocations: 216 kB / 0.9607 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.6385, allocations: 0.6972 MB / 0.9614 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.351e-05/0.6386, allocations: 5.812 kB / 0.9614 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.6386, allocations: 10.06 kB / 0.9614 GB, free: 92 kB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6386, allocations: 0 / 0.9614 GB, free: 92 kB / 0.7169 GB Notification: Performance of Templates: time 0.002428/0.641, allocations: 433.3 kB / 0.9618 GB, free: 15.87 MB / 0.7325 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches