Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",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.001662/0.001662, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001893/0.001893, allocations: 198.2 kB / 16.14 MB, free: 6.574 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.91 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5161, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002716/0.5189, allocations: 1.819 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.519, allocations: 87.66 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.5191, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.5192, allocations: 3.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.896e-05/0.5192, allocations: 15.84 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.271e-05/0.5193, allocations: 31.97 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.5194, allocations: 107.7 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.5196, allocations: 37.11 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.985e-05/0.5196, allocations: 43.84 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.5197, allocations: 43.77 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.5197, allocations: 8 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.5197, allocations: 8 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.5198, allocations: 15.92 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.5198, allocations: 47.72 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.5199, allocations: 101.9 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5199, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.11e-07/0.52, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.52, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005762/0.5205, allocations: 439 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5206, allocations: 12.03 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.5206, allocations: 42.73 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.5207, allocations: 8.844 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.5208, allocations: 204.1 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.5209, allocations: 8.312 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.5209, allocations: 12.38 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.5212, allocations: 122.2 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5212, allocations: 3.938 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5213, allocations: 7.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5213, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.5217, allocations: 119.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.5221, allocations: 384.4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.5224, allocations: 90.52 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.5227, allocations: 60.92 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.5227, allocations: 3.938 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.5227, allocations: 38.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5227, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006737/0.5234, allocations: 201.4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.5234, allocations: 51.41 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.5235, allocations: 121.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.5235, allocations: 33.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.5236, allocations: 107.9 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.5236, allocations: 11.8 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.5237, allocations: 21.72 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.5237, allocations: 318.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5239, allocations: 51.94 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.5241, allocations: 47.94 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.5245, allocations: 112.7 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5245, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004083/0.5249, allocations: 141.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.525, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.525, allocations: 3.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.525, allocations: 3.938 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.5251, allocations: 31.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5251, allocations: 3.984 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5253, allocations: 23.83 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.5253, allocations: 4 kB / 1.022 GB, free: 13.41 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 (6): * Single equations (assignments): 6 * 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.136e-05/0.5254, allocations: 118.3 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.5254, allocations: 7.984 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.5254, allocations: 16.31 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5254, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5254, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5254, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.5256, allocations: 205.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5256, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.5258, allocations: 27.97 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5258, allocations: 448 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.5258, allocations: 7.938 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5258, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5258, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.5263, allocations: 239.4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.5263, allocations: 85.02 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5263, allocations: 3.938 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.5265, allocations: 23.97 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5265, allocations: 3.984 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.5265, allocations: 4 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.5266, allocations: 109.5 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5266, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002157/0.5268, allocations: 19.84 kB / 1.023 GB, free: 12.45 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 (6): * Single equations (assignments): 6 * 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.0006667/0.5275, allocations: 0.7709 MB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.5279, allocations: 115.8 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5279, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.5281, allocations: 59.94 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.5284, allocations: 9.703 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.5304, allocations: 1.619 MB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.5306, allocations: 0.7004 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.5306, allocations: 4 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.5307, allocations: 31.42 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5307, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.491/3.022, allocations: 1.902 MB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/3.022, allocations: 227.8 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/4.545, allocations: 3.75 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches