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.005894/0.005894, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.001283/0.001283, allocations: 193.6 kB / 16.67 MB, free: 5.492 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.38/2.38, allocations: 390.3 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.97 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2525, allocations: 140.4 MB / 1.088 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001846/0.2544, allocations: 0.6932 MB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008239/0.2552, allocations: 0.8004 MB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.2553, allocations: 0 / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.2553, allocations: 11.86 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.2554, allocations: 7.875 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.503e-05/0.2554, allocations: 15.98 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.2555, allocations: 43.91 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.2556, allocations: 15.98 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.2557, allocations: 19.92 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.2557, allocations: 15.92 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2558, allocations: 4 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-06/0.2558, allocations: 4 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.2558, allocations: 11.98 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.2558, allocations: 19.81 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.2559, allocations: 39.86 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2559, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2559, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.256, allocations: 7.984 kB / 1.089 GB, free: 324 kB / 0.8419 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.0004846/0.2564, allocations: 358.3 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2565, allocations: 12.03 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.2565, allocations: 30.75 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.2566, allocations: 4.844 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.2567, allocations: 173.2 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.2567, allocations: 384 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2567, allocations: 8.359 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.2569, allocations: 70.22 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.257, allocations: 7.875 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.257, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.257, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.2573, allocations: 59.92 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2576, allocations: 276.8 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.2578, allocations: 50.55 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.258, allocations: 44.84 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.258, allocations: 3.938 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.258, allocations: 34.56 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.258, allocations: 4 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005015/0.2585, allocations: 121.6 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.2585, allocations: 59.39 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/0.2586, allocations: 109.8 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.2586, allocations: 29.7 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.2587, allocations: 84.14 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2587, allocations: 11.81 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.2587, allocations: 13.72 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.2588, allocations: 318.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.259, allocations: 35.91 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2591, allocations: 31.95 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2594, allocations: 72.67 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2594, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003099/0.2597, allocations: 97.62 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2597, allocations: 11.98 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2598, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2598, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.2599, allocations: 15.98 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2599, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.26, allocations: 7.984 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.26, allocations: 11.94 kB / 1.091 GB, free: 13.95 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 6.72e-05/0.2601, allocations: 117.7 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.2601, allocations: 7.906 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.2601, allocations: 7.891 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2601, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2601, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2601, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2603, allocations: 169.9 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2603, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.2604, allocations: 23.97 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2604, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2604, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.2604, allocations: 0 / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2604, allocations: 3.938 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.2608, allocations: 203.4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.2608, allocations: 84.95 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2608, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2609, allocations: 15.97 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.261, allocations: 4 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.261, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.088e-05/0.261, allocations: 87.27 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.261, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002082/0.2613, allocations: 16 kB / 1.092 GB, free: 13.12 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.0006255/0.2619, allocations: 0.7241 MB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.2622, allocations: 71.86 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2622, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.2624, allocations: 35.97 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2627, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.2631, allocations: 171.1 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.2634, allocations: 0.6807 MB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.2634, allocations: 3.984 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.2634, allocations: 11.44 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2634, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3424/0.6059, allocations: 1.664 MB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/9.087, allocations: 11.67 kB / 1.095 GB, free: 9.77 MB / 0.8575 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