Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.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.352/2.352, allocations: 390.2 MB / 0.6647 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 67.91 kB / 0.8127 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6097, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001643/0.6114, allocations: 0.6506 MB / 0.9504 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006209/0.612, allocations: 0.8564 MB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.6121, allocations: 0 / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.6121, allocations: 3.984 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.6122, allocations: 3.938 kB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.6123, allocations: 7.188 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.6124, allocations: 25.58 kB / 0.9513 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.08e-05/0.6125, allocations: 3.25 kB / 0.9513 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.602e-05/0.6125, allocations: 10.58 kB / 0.9513 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.6126, allocations: 16.09 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.6126, allocations: 1.438 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.6126, allocations: 2.75 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.6126, allocations: 7.969 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.6127, allocations: 13.28 kB / 0.9513 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.442e-05/0.6127, allocations: 24.06 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6127, allocations: 1.5 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6127, allocations: 0 / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.6128, allocations: 0 / 0.9513 GB, free: 7.934 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003461/0.6131, allocations: 338.6 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6132, allocations: 9.938 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.39e-05/0.6132, allocations: 30.75 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.6132, allocations: 2.281 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.968e-05/0.6133, allocations: 174.8 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.6133, allocations: 384 / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.6133, allocations: 5.531 kB / 0.9519 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.6135, allocations: 50.52 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6135, allocations: 3.938 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.6135, allocations: 4 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.6135, allocations: 0 / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.6137, allocations: 31.72 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.614, allocations: 247.9 kB / 0.9522 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.6141, allocations: 39.59 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.6142, allocations: 30.53 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.6142, allocations: 0.9375 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6143, allocations: 35.83 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6143, allocations: 0 / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003382/0.6146, allocations: 76.06 kB / 0.9524 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.6146, allocations: 56.62 kB / 0.9524 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.6147, allocations: 106 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.6147, allocations: 26.92 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.6147, allocations: 81.33 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.6148, allocations: 7.844 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.6148, allocations: 24.39 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.6148, allocations: 312.1 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.6149, allocations: 20.86 kB / 0.953 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.27e-05/0.615, allocations: 14.08 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.6152, allocations: 39.47 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6152, allocations: 3.938 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.6154, allocations: 64.36 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6154, allocations: 6.125 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6154, allocations: 4.969 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6154, allocations: 3.984 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.6155, allocations: 6.031 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.6155, allocations: 1.375 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.6156, allocations: 11.67 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.6156, allocations: 3.938 kB / 0.9531 GB, free: 6.07 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 (2): * Single equations (assignments): 2 * 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 3.987e-05/0.6156, allocations: 116.4 kB / 0.9532 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.6156, allocations: 3.906 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.829e-05/0.6157, allocations: 4.281 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6157, allocations: 1.125 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6157, allocations: 0 / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6157, allocations: 3.984 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.6158, allocations: 158 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6158, allocations: 5.281 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.6159, allocations: 9.016 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6159, allocations: 1.188 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.6159, allocations: 8 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6159, allocations: 1.375 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6159, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.6161, allocations: 163.8 kB / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.6161, allocations: 77.11 kB / 0.9536 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.6161, allocations: 1.5 kB / 0.9536 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.6162, allocations: 11.73 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.6163, allocations: 9.141 kB / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.6163, allocations: 0 / 0.9537 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.6163, allocations: 78.91 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6163, allocations: 0 / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002178/0.6165, allocations: 4.062 kB / 0.9537 GB, free: 5.387 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 (2): * Single equations (assignments): 2 * 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.0003516/0.6169, allocations: 0.7031 MB / 0.9544 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.6171, allocations: 36.91 kB / 0.9545 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6171, allocations: 1.531 kB / 0.9545 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.6172, allocations: 26.22 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.6174, allocations: 2.688 kB / 0.9545 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.6178, allocations: 140.5 kB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.353e-05/0.6179, allocations: 0.6809 MB / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.6179, allocations: 0 / 0.9553 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.618, allocations: 12.78 kB / 0.9553 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.618, allocations: 5.25 kB / 0.9553 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.6322, allocations: 1.237 MB / 0.9565 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.664, allocations: 5.859 kB / 0.9565 GB, free: 3.074 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches