Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="Buildings_10_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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 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.001211/0.001211, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5079, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001802/0.5097, allocations: 0.7079 MB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008366/0.5106, allocations: 0.804 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.5107, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.5107, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.5108, allocations: 3.938 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.52e-05/0.5108, allocations: 15.97 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.5109, allocations: 47.8 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.511, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.5111, allocations: 19.98 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.5111, allocations: 27.84 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.5112, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.5112, allocations: 4 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.5112, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.5112, allocations: 23.86 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.631e-05/0.5113, allocations: 43.86 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5113, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5113, allocations: 3.938 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.5113, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 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.0004815/0.5118, allocations: 365.5 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5119, allocations: 12.03 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.5119, allocations: 38.73 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.5119, allocations: 0.9375 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.512, allocations: 168.3 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.5121, allocations: 4.312 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.5121, allocations: 4.375 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.5123, allocations: 70.22 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5123, allocations: 3.938 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.5123, allocations: 3.984 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5124, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.5127, allocations: 59.94 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.513, allocations: 272.9 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.5132, allocations: 58.45 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.5134, allocations: 40.92 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.5134, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.5134, allocations: 38.56 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5134, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000532/0.514, allocations: 129.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.514, allocations: 59.34 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/0.5141, allocations: 109.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.5141, allocations: 25.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.5142, allocations: 88.14 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5142, allocations: 11.83 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.5142, allocations: 17.72 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.5143, allocations: 310.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.5145, allocations: 31.95 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.5146, allocations: 35.97 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5149, allocations: 72.66 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5149, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003274/0.5153, allocations: 105.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5153, allocations: 8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5153, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5153, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.5154, allocations: 11.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5154, allocations: 7.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.5155, allocations: 11.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5155, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 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.603e-05/0.5156, allocations: 113.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5157, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.5157, allocations: 11.84 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5157, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5157, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5157, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.5159, allocations: 185.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5159, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.516, allocations: 19.98 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.516, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.516, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.516, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.516, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.5164, allocations: 203.3 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.5164, allocations: 81.48 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5164, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5166, allocations: 11.98 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.5166, allocations: 3.984 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.5166, allocations: 3.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.5167, allocations: 87.28 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5167, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002192/0.5169, allocations: 8 kB / 1.022 GB, free: 13.57 MB / 0.7794 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.0006209/0.5175, allocations: 0.7357 MB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.5179, allocations: 67.92 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5179, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.518, allocations: 43.95 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.5183, allocations: 5.656 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.5188, allocations: 167.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.519, allocations: 0.6807 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.519, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.5191, allocations: 15.38 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5191, allocations: 0 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.5359, allocations: 1.595 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/7.454, allocations: 18.17 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Average.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches