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.001026/0.001026, allocations: 108 kB / 15.6 MB, free: 132 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.0009929/0.0009929, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.208/2.208, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.5798, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001721/0.5816, allocations: 0.7038 MB / 0.9504 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005972/0.5822, allocations: 0.8013 MB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.5823, allocations: 1.469 kB / 0.9512 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.5823, allocations: 3.938 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.5823, allocations: 3.938 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.047e-05/0.5824, allocations: 17.39 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.544e-05/0.5825, allocations: 41.91 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.5826, allocations: 9.219 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.5826, allocations: 17.77 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.759e-05/0.5827, allocations: 25.12 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.5827, allocations: 7.734 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.5827, allocations: 7.719 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.5827, allocations: 9.062 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.5828, allocations: 14.52 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.411e-05/0.5828, allocations: 39.97 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5828, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5828, allocations: 3.938 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.5829, allocations: 1.219 kB / 0.9514 GB, free: 7.863 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.0004073/0.5833, allocations: 369.3 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5833, allocations: 9.594 kB / 0.9518 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.5833, allocations: 35.86 kB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.082e-05/0.5834, allocations: 7.375 kB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.999e-05/0.5834, allocations: 167 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.5835, allocations: 384 / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.5835, allocations: 7.031 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.5837, allocations: 63.78 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.5837, allocations: 3.938 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.5837, allocations: 7.938 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5837, allocations: 1.281 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.584, allocations: 70.36 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.5843, allocations: 267.7 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5844, allocations: 60.41 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.5846, allocations: 35.55 kB / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.5846, allocations: 0 / 0.9525 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.5846, allocations: 35.72 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.5846, allocations: 5.125 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.5851, allocations: 133.1 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.5852, allocations: 52.72 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.5852, allocations: 110.8 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.5852, allocations: 25.7 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.396e-05/0.5853, allocations: 86.36 kB / 0.9529 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.5853, allocations: 9.312 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.5853, allocations: 20.52 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.5853, allocations: 316.2 kB / 0.9532 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.5855, allocations: 29.38 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.5856, allocations: 33.83 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.5859, allocations: 78.41 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5859, allocations: 0 / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002886/0.5862, allocations: 97.69 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5862, allocations: 5 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5862, allocations: 0 / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5862, allocations: 5.062 kB / 0.9535 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5863, allocations: 17.67 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.5864, allocations: 4.969 kB / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.5864, allocations: 15.7 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.5865, allocations: 0 / 0.9535 GB, free: 5.844 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.5865, allocations: 116.8 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.5865, allocations: 1.406 kB / 0.9536 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.5865, allocations: 9.141 kB / 0.9536 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.5866, allocations: 9.094 kB / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5866, allocations: 0 / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.5866, allocations: 0 / 0.9536 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5867, allocations: 173.2 kB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5867, allocations: 5.031 kB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.5868, allocations: 13.7 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5868, allocations: 1.094 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5868, allocations: 0 / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5868, allocations: 1.156 kB / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5868, allocations: 0 / 0.9538 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.5871, allocations: 204.1 kB / 0.954 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.5871, allocations: 78.23 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.5872, allocations: 1.219 kB / 0.9541 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5873, allocations: 14.48 kB / 0.9541 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.5873, allocations: 10.33 kB / 0.9541 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.5873, allocations: 0 / 0.9541 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.5874, allocations: 89.78 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5874, allocations: 0 / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002066/0.5876, allocations: 6.688 kB / 0.9542 GB, free: 5.117 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 (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.0005076/0.5881, allocations: 0.7327 MB / 0.9549 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5884, allocations: 70.55 kB / 0.955 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5884, allocations: 0 / 0.955 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.5886, allocations: 40.92 kB / 0.955 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.5888, allocations: 9.094 kB / 0.955 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.5892, allocations: 147.4 kB / 0.9552 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.5893, allocations: 0.6873 MB / 0.9558 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.5894, allocations: 1.125 kB / 0.9558 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.5894, allocations: 17.81 kB / 0.9559 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.5894, allocations: 0 / 0.9559 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.686/1.275, allocations: 1.607 MB / 0.9574 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.81, allocations: 7.719 kB / 0.9574 GB, free: 2.594 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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