Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Average,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_11_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.003948/0.003948, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001126/0.001126, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 75.83 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2578, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001625/0.2594, allocations: 0.7046 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.2603, allocations: 0.798 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.2603, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.2604, allocations: 7.922 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.2604, allocations: 7.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.748e-05/0.2605, allocations: 7.984 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.13e-05/0.2606, allocations: 51.8 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.2607, allocations: 11.92 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.2607, allocations: 15.98 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.2608, allocations: 23.91 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.2608, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/0.2608, allocations: 3.938 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2608, allocations: 11.98 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.2608, allocations: 19.94 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.979e-05/0.2609, allocations: 39.8 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2609, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2609, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.261, allocations: 0 / 1.222 GB, free: 12.52 MB / 0.9825 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.0004732/0.2614, allocations: 363.3 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2615, allocations: 8.031 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.2615, allocations: 34.75 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.076e-05/0.2615, allocations: 12.89 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.2616, allocations: 172.3 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2617, allocations: 384 / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.2617, allocations: 4.359 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.2619, allocations: 70.22 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.2619, allocations: 3.938 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.2619, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2619, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.2622, allocations: 67.92 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.2625, allocations: 272.8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.2627, allocations: 62.48 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.2629, allocations: 36.91 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2629, allocations: 4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.2629, allocations: 30.56 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2629, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005001/0.2634, allocations: 133.5 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2635, allocations: 51.41 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.2636, allocations: 109.8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2636, allocations: 25.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.2636, allocations: 84.14 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2637, allocations: 15.84 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2637, allocations: 17.72 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2638, allocations: 318.8 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.264, allocations: 27.97 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2641, allocations: 31.95 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.2644, allocations: 76.67 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2644, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/0.2647, allocations: 101.5 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.2647, allocations: 7.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2647, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.2647, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2649, allocations: 23.98 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.2649, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.2649, allocations: 15.94 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.265, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 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 7.28e-05/0.265, allocations: 113.8 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2651, allocations: 3.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.2651, allocations: 7.906 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2651, allocations: 8 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2651, allocations: 0 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2651, allocations: 336 / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.2653, allocations: 173.6 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2653, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.2654, allocations: 15.97 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2654, allocations: 0 / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2654, allocations: 4 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.2654, allocations: 0 / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2654, allocations: 3.984 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.2658, allocations: 203.3 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.2658, allocations: 77.11 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2658, allocations: 3.984 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.612e-05/0.2659, allocations: 11.98 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.266, allocations: 8 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.266, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.266, allocations: 87.27 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.266, allocations: 4 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001942/0.2662, allocations: 4 kB / 1.225 GB, free: 9.332 MB / 0.9825 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.000644/0.2669, allocations: 0.7362 MB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003067/0.2672, allocations: 71.92 kB / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2672, allocations: 0 / 1.225 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2674, allocations: 35.97 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.2676, allocations: 13.98 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.268, allocations: 158.8 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2683, allocations: 0.6807 MB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.2683, allocations: 15.92 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.2683, allocations: 15.44 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2683, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.383/2.651, allocations: 1.638 MB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/14.43, allocations: 2.422 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches