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.0009562/0.0009561, allocations: 99.78 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.001034/0.001034, allocations: 177.3 kB / 15.95 MB, free: 216 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.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.352 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.359/2.359, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6174, allocations: 142.3 MB / 0.9535 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.00101/0.6184, allocations: 419.9 kB / 0.9539 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.6194, allocations: 0.8008 MB / 0.9547 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.6194, allocations: 1.656 kB / 0.9547 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.6195, allocations: 3.938 kB / 0.9547 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.6195, allocations: 5.188 kB / 0.9547 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.941e-05/0.6196, allocations: 9.141 kB / 0.9547 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.3e-05/0.6197, allocations: 28.42 kB / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.6198, allocations: 7.688 kB / 0.9548 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.6199, allocations: 17.39 kB / 0.9548 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.62, allocations: 21.16 kB / 0.9548 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.62, allocations: 2.281 kB / 0.9548 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.62, allocations: 2.5 kB / 0.9548 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.62, allocations: 4 kB / 0.9548 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.62, allocations: 32.27 kB / 0.9548 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.498e-05/0.6201, allocations: 33.3 kB / 0.9549 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.6201, allocations: 0 / 0.9549 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6201, allocations: 5.531 kB / 0.9549 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.6201, allocations: 3.938 kB / 0.9549 GB, free: 7.152 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.0004267/0.6206, allocations: 367.2 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.6206, allocations: 9 kB / 0.9552 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.6206, allocations: 10.17 kB / 0.9553 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.6207, allocations: 166.2 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.6207, allocations: 1.062 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.6208, allocations: 2.469 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.621, allocations: 79.56 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.621, allocations: 4 kB / 0.9555 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.621, allocations: 8.969 kB / 0.9555 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6211, allocations: 0 / 0.9555 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.6214, allocations: 90.47 kB / 0.9556 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.6217, allocations: 263.3 kB / 0.9558 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.6219, allocations: 66.59 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.622, allocations: 5.125 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.622, allocations: 34.56 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.622, allocations: 1.156 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005847/0.6226, allocations: 171 kB / 0.9561 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.6226, allocations: 51.41 kB / 0.9562 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.6227, allocations: 112.2 kB / 0.9563 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.6227, allocations: 25.7 kB / 0.9563 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.6228, allocations: 86.11 kB / 0.9564 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.6228, allocations: 12.78 kB / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6228, allocations: 0 / 0.9564 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.6229, allocations: 324.4 kB / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.623, allocations: 39.03 kB / 0.9567 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.6232, allocations: 51.89 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.6233, allocations: 38.28 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6233, allocations: 0 / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.6237, allocations: 122 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6237, allocations: 5.938 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6237, allocations: 4 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6237, allocations: 1.094 kB / 0.9569 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.6239, allocations: 27.27 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6239, allocations: 0 / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.624, allocations: 16.14 kB / 0.957 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.624, allocations: 4 kB / 0.957 GB, free: 5.234 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.233e-05/0.624, allocations: 112.7 kB / 0.9571 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.6241, allocations: 5.25 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.6244, allocations: 128.8 kB / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6244, allocations: 0 / 0.9572 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6245, allocations: 3.953 kB / 0.9572 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6245, allocations: 5.094 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.6246, allocations: 168.8 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6246, allocations: 0.7812 kB / 0.9574 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.6247, allocations: 27.39 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6247, allocations: 0 / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.6247, allocations: 1.062 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6247, allocations: 0 / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6247, allocations: 0.875 kB / 0.9574 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.6251, allocations: 223 kB / 0.9576 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.6251, allocations: 82.14 kB / 0.9577 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.6252, allocations: 5.156 kB / 0.9577 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.6253, allocations: 15.61 kB / 0.9577 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.6253, allocations: 10.27 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.6253, allocations: 1.156 kB / 0.9577 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3e-05/0.6254, allocations: 88.73 kB / 0.9578 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6254, allocations: 0 / 0.9578 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002217/0.6256, allocations: 11.08 kB / 0.9578 GB, free: 4.434 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.0001536/0.6258, allocations: 100.9 kB / 0.9579 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.6261, allocations: 90.27 kB / 0.958 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6262, allocations: 0 / 0.958 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.6263, allocations: 46.97 kB / 0.9581 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.6266, allocations: 10.52 kB / 0.9581 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.6269, allocations: 130.3 kB / 0.9582 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.6271, allocations: 0.6807 MB / 0.9589 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.112e-05/0.6271, allocations: 10.02 kB / 0.9589 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.6272, allocations: 8.406 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6272, allocations: 1.188 kB / 0.9589 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of Templates: time 0.003103/0.6303, allocations: 0.5206 MB / 0.9594 GB, free: 3.172 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches