Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.008026/0.008026, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001869/0.001869, allocations: 193.7 kB / 16.67 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.165/2.165, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 0.9505 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7121, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001615/0.7137, allocations: 0.7024 MB / 1.088 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.7144, allocations: 0.7985 MB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.7144, allocations: 0 / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.7145, allocations: 5.859 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.7145, allocations: 4.5 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.283e-05/0.7146, allocations: 14.39 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.7147, allocations: 43.06 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.7148, allocations: 15.5 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.7148, allocations: 21.14 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.7149, allocations: 22.47 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.7149, allocations: 3.469 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.7149, allocations: 4 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.715, allocations: 7.422 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.715, allocations: 17.03 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.326e-05/0.7151, allocations: 45.39 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.7151, allocations: 0 / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7151, allocations: 7.938 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7151, allocations: 0 / 1.089 GB, free: 4.359 MB / 0.8575 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.0004595/0.7156, allocations: 367.9 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7156, allocations: 9.844 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.7157, allocations: 32.89 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.7157, allocations: 6.547 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/0.7158, allocations: 164.5 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.7158, allocations: 5.5 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.7158, allocations: 6.312 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.716, allocations: 72.53 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.716, allocations: 3.938 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.7161, allocations: 1.766 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.7161, allocations: 1 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.7164, allocations: 65.16 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.7166, allocations: 270.8 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.7169, allocations: 63.66 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.717, allocations: 40.52 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.717, allocations: 1.828 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.7171, allocations: 35.56 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7171, allocations: 0 / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005375/0.7176, allocations: 127.8 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.7176, allocations: 52.31 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.7177, allocations: 111 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.7177, allocations: 27.59 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.438e-05/0.7177, allocations: 86.06 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.7178, allocations: 14.58 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.7178, allocations: 16.67 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.7178, allocations: 313.6 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.718, allocations: 35.11 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.7182, allocations: 31.84 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.7184, allocations: 69.72 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7185, allocations: 4.75 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003188/0.7188, allocations: 93.69 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.7188, allocations: 5.75 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.7188, allocations: 0 / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7188, allocations: 1.375 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.719, allocations: 23.17 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.719, allocations: 1 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.719, allocations: 15.67 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.7191, allocations: 1.438 kB / 1.091 GB, free: 2.539 MB / 0.8575 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 4.458e-05/0.7191, allocations: 116.4 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.7191, allocations: 6.031 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.7192, allocations: 13.7 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7192, allocations: 1.891 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7192, allocations: 0 / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.7192, allocations: 1.156 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.7193, allocations: 170.4 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7193, allocations: 0 / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-05/0.7194, allocations: 19.66 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7194, allocations: 1.094 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.7194, allocations: 4.734 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.7194, allocations: 0 / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7194, allocations: 0.8438 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.7198, allocations: 197.8 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.7198, allocations: 83.03 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.7198, allocations: 1.125 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.7199, allocations: 16.41 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.72, allocations: 3.219 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.72, allocations: 1.984 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.653e-05/0.72, allocations: 95.33 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.72, allocations: 0 / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002135/0.7202, allocations: 5.844 kB / 1.092 GB, free: 1.855 MB / 0.8575 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.0005454/0.7208, allocations: 0.7316 MB / 1.093 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.7212, allocations: 71.36 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7212, allocations: 0.9688 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.7214, allocations: 33.25 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.7216, allocations: 13.19 kB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.722, allocations: 159.8 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.7222, allocations: 0.6802 MB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.7223, allocations: 1.266 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.7223, allocations: 19.39 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.7223, allocations: 3.938 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.7397, allocations: 1.636 MB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/8.252, allocations: 12.08 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_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_Average.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches