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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 109.9 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 71.88 kB / 1.056 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7306/0.7327, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003704/0.7364, allocations: 1.763 MB / 1.215 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002168/0.7367, allocations: 85.66 kB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.7367, allocations: 2.281 kB / 1.215 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.7368, allocations: 7.875 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.7369, allocations: 18.36 kB / 1.215 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.737, allocations: 30.03 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.7371, allocations: 112.8 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.7373, allocations: 41.67 kB / 1.215 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.7374, allocations: 45.38 kB / 1.215 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.7374, allocations: 51.17 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.7375, allocations: 11.09 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.7375, allocations: 10.38 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.7375, allocations: 22.02 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.7376, allocations: 54.53 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.7378, allocations: 112.5 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7378, allocations: 1 kB / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7378, allocations: 0 / 1.215 GB, free: 2.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.7378, allocations: 0 / 1.215 GB, free: 2.02 MB / 0.92 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.0007375/0.7385, allocations: 440.3 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7386, allocations: 9.531 kB / 1.216 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.7386, allocations: 42.5 kB / 1.216 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.7386, allocations: 9.828 kB / 1.216 GB, free: 1.535 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.7389, allocations: 200.2 kB / 1.216 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.7389, allocations: 8.719 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.7389, allocations: 9.656 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.7393, allocations: 121.7 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7393, allocations: 3.938 kB / 1.216 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.7393, allocations: 5.344 kB / 1.216 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.7393, allocations: 5.906 kB / 1.216 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.7398, allocations: 122.1 kB / 1.216 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.7403, allocations: 390.9 kB / 1.217 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.7407, allocations: 85.39 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.7409, allocations: 58 kB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.7409, allocations: 5.109 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.7409, allocations: 31.75 kB / 1.217 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.7409, allocations: 3.938 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0007206/0.7417, allocations: 194.2 kB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.7417, allocations: 52.5 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.7418, allocations: 126.5 kB / 1.217 GB, free: 372 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.7418, allocations: 25.7 kB / 1.217 GB, free: 340 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.7419, allocations: 113.1 kB / 1.217 GB, free: 228 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.7419, allocations: 22.89 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.742, allocations: 17.94 kB / 1.217 GB, free: 188 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7421, allocations: 320.8 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.7423, allocations: 47.72 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.7425, allocations: 51.42 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.7429, allocations: 108.1 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7429, allocations: 5.062 kB / 1.218 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004446/0.7434, allocations: 145.7 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7434, allocations: 5.531 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7434, allocations: 0 / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.7434, allocations: 3.938 kB / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.7436, allocations: 30.62 kB / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7436, allocations: 0 / 1.218 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.7437, allocations: 21.88 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.7437, allocations: 1.812 kB / 1.218 GB, free: 15.65 MB / 0.9356 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 0.000103/0.7438, allocations: 123.3 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.7438, allocations: 7.328 kB / 1.218 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.7439, allocations: 18.36 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.7439, allocations: 5.062 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7439, allocations: 448 / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7439, allocations: 1.281 kB / 1.218 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.7441, allocations: 208.9 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7441, allocations: 5.094 kB / 1.218 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.7443, allocations: 25.47 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.7443, allocations: 0 / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.7443, allocations: 4.812 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7443, allocations: 0.9688 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7443, allocations: 4 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.7448, allocations: 233.3 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.7449, allocations: 87.53 kB / 1.219 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.7449, allocations: 5.156 kB / 1.219 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.745, allocations: 21.03 kB / 1.219 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.7451, allocations: 11.73 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.7451, allocations: 1.188 kB / 1.219 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.471e-05/0.7452, allocations: 102.5 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7452, allocations: 0 / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002436/0.7454, allocations: 19.39 kB / 1.219 GB, free: 14.85 MB / 0.9356 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.0008399/0.7462, allocations: 0.7682 MB / 1.22 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.7467, allocations: 122.2 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7467, allocations: 0 / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.7469, allocations: 54.39 kB / 1.22 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.7472, allocations: 19.03 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.7497, allocations: 1.601 MB / 1.221 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.75, allocations: 0.7003 MB / 1.222 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.977e-05/0.75, allocations: 6.25 kB / 1.222 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.7501, allocations: 30.8 kB / 1.222 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.7501, allocations: 1.281 kB / 1.222 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.7759, allocations: 2.252 MB / 1.224 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.04, allocations: 13.59 kB / 1.224 GB, free: 10.72 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.024 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.73309361282736]