Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.000736/0.000736, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.004683/0.004683, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 12 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2643, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.0007544/0.2651, allocations: 440.4 kB / 1.059 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007192/0.2658, allocations: 0.804 MB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.2658, allocations: 0 / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.2659, allocations: 0 / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.2659, allocations: 3.938 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.01e-05/0.266, allocations: 15.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.659e-05/0.266, allocations: 43.78 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.2661, allocations: 19.92 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.243e-05/0.2662, allocations: 11.98 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.2662, allocations: 23.86 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2663, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/0.2663, allocations: 4 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.2663, allocations: 0 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.2663, allocations: 41.62 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.425e-05/0.2664, allocations: 39.8 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2664, allocations: 4 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2664, allocations: 0 / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2664, allocations: 4 kB / 1.06 GB, free: 3.383 MB / 0.8106 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.0004384/0.2669, allocations: 359.7 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2669, allocations: 11.97 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.267, allocations: 34.75 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.267, allocations: 8.938 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.2671, allocations: 180.2 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.2671, allocations: 4.375 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2671, allocations: 384 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.2674, allocations: 82.16 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2674, allocations: 3.938 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2674, allocations: 4 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2674, allocations: 0 / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.2677, allocations: 87.92 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.268, allocations: 268.9 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.2682, allocations: 70.48 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.2684, allocations: 48.91 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2684, allocations: 0 / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2684, allocations: 34.56 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2684, allocations: 0 / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005351/0.269, allocations: 161.5 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.269, allocations: 55.41 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.2691, allocations: 113.8 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2691, allocations: 25.7 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.2692, allocations: 88.14 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.2692, allocations: 7.906 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.2692, allocations: 9.719 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.2693, allocations: 314.8 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.2695, allocations: 43.97 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2696, allocations: 43.95 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.2699, allocations: 92.73 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2699, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003297/0.2702, allocations: 121.5 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2703, allocations: 19.86 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2703, allocations: 3.938 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.2703, allocations: 0 / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2704, allocations: 19.98 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2704, allocations: 0 / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.2705, allocations: 23.98 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2705, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 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.425e-05/0.2706, allocations: 113.8 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.2706, allocations: 336 / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.2707, allocations: 11.89 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2707, allocations: 7.984 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2707, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2707, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.2708, allocations: 169.6 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2708, allocations: 4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.2709, allocations: 23.97 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2709, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.271, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.271, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.271, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.2713, allocations: 223.3 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.293e-05/0.2714, allocations: 85.05 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.2714, allocations: 8 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2715, allocations: 15.97 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.2716, allocations: 4 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2716, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.2716, allocations: 91.27 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2716, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002033/0.2718, allocations: 8 kB / 1.063 GB, free: 4 kB / 0.8106 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.0006331/0.2725, allocations: 0.7552 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.2728, allocations: 91.92 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2728, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.273, allocations: 43.97 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.2732, allocations: 8 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.2736, allocations: 174.1 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.2738, allocations: 0.6809 MB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.2739, allocations: 3.938 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.2739, allocations: 23.36 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2739, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.804/2.078, allocations: 1.307 MB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/2.078, allocations: 212.4 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/3.885, allocations: 64 / 1.066 GB, free: 12.71 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches