Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001952/0.001952, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.002204/0.002204, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.858/2.858, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 176] 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.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2219/1.235, allocations: 169.1 MB / 1.437 GB, free: 9.273 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02758/1.263, allocations: 17.62 MB / 1.454 GB, free: 9.855 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.265, allocations: 31.81 kB / 1.454 GB, free: 9.824 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/1.267, allocations: 0.5895 MB / 1.454 GB, free: 9.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006441/1.274, allocations: 1.815 MB / 1.456 GB, free: 7.41 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004341/1.278, allocations: 1.465 MB / 1.458 GB, free: 5.957 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00447/1.282, allocations: 2.87 MB / 1.46 GB, free: 3.074 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/1.285, allocations: 1.585 MB / 1.462 GB, free: 1.43 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/1.29, allocations: 1.48 MB / 1.463 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/1.292, allocations: 1.151 MB / 1.465 GB, free: 14.84 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005012/1.292, allocations: 220 kB / 1.465 GB, free: 14.62 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003742/1.296, allocations: 1.595 MB / 1.466 GB, free: 13.03 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0008714/1.297, allocations: 0.81 MB / 1.467 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/1.299, allocations: 1.267 MB / 1.468 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00578/1.304, allocations: 3.74 MB / 1.472 GB, free: 7.188 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.304, allocations: 4 kB / 1.472 GB, free: 7.184 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.463e-06/1.304, allocations: 0 / 1.472 GB, free: 7.184 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.826e-05/1.304, allocations: 0 / 1.472 GB, free: 7.184 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005394/1.31, allocations: 2.994 MB / 1.475 GB, free: 4.117 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.31, allocations: 12.03 kB / 1.475 GB, free: 4.105 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00031/1.31, allocations: 244.9 kB / 1.475 GB, free: 3.855 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/1.314, allocations: 0.5838 MB / 1.476 GB, free: 3.27 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/1.319, allocations: 3.438 MB / 1.479 GB, free: 15.78 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/1.319, allocations: 131.4 kB / 1.479 GB, free: 15.65 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/1.319, allocations: 164 kB / 1.479 GB, free: 15.49 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/1.323, allocations: 1.945 MB / 1.481 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.323, allocations: 4 kB / 1.481 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/1.323, allocations: 75.94 kB / 1.481 GB, free: 13.42 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/1.323, allocations: 44 kB / 1.481 GB, free: 13.38 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/1.327, allocations: 2.093 MB / 1.483 GB, free: 11.28 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/1.338, allocations: 6.549 MB / 1.49 GB, free: 4.387 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/1.342, allocations: 1.999 MB / 1.492 GB, free: 2.312 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/1.344, allocations: 0.7066 MB / 1.493 GB, free: 1.598 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/1.344, allocations: 433.5 kB / 1.493 GB, free: 1.102 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/1.346, allocations: 1.001 MB / 1.494 GB, free: 80 kB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.526e-06/1.346, allocations: 0 / 1.494 GB, free: 80 kB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.00757/1.354, allocations: 2.97 MB / 1.497 GB, free: 13 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/1.354, allocations: 193.2 kB / 1.497 GB, free: 12.77 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005564/1.36, allocations: 4.06 MB / 1.501 GB, free: 8.699 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003831/1.36, allocations: 61.64 kB / 1.501 GB, free: 8.633 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009272/1.361, allocations: 0.8958 MB / 1.502 GB, free: 7.727 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006749/1.362, allocations: 0.4996 MB / 1.502 GB, free: 7.223 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/1.362, allocations: 242.8 kB / 1.503 GB, free: 6.977 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.362, allocations: 357.9 kB / 1.503 GB, free: 6.621 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.364, allocations: 0.5648 MB / 1.504 GB, free: 6.059 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.365, allocations: 0.797 MB / 1.504 GB, free: 5.199 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/1.368, allocations: 1.306 MB / 1.506 GB, free: 3.883 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.368, allocations: 3.938 kB / 1.506 GB, free: 3.879 MB / 1.186 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004622/1.372, allocations: 1.78 MB / 1.507 GB, free: 2.074 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/1.372, allocations: 4 kB / 1.507 GB, free: 2.07 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.372, allocations: 4 kB / 1.507 GB, free: 2.066 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/1.373, allocations: 216.2 kB / 1.508 GB, free: 1.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.375, allocations: 323.6 kB / 1.508 GB, free: 1.523 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/1.382, allocations: 7.327 MB / 1.515 GB, free: 9.496 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.384, allocations: 155.2 kB / 1.515 GB, free: 9.344 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/1.384, allocations: 56.02 kB / 1.515 GB, free: 9.289 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001092/1.385, allocations: 489.4 kB / 1.516 GB, free: 8.801 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/1.386, allocations: 198.7 kB / 1.516 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/1.391, allocations: 2.138 MB / 1.518 GB, free: 6.438 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.391, allocations: 20 kB / 1.518 GB, free: 6.418 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.391, allocations: 0 / 1.518 GB, free: 6.418 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/1.391, allocations: 7.969 kB / 1.518 GB, free: 6.41 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007729/1.398, allocations: 4.104 MB / 1.522 GB, free: 2.234 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/1.398, allocations: 3.938 kB / 1.522 GB, free: 2.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/1.4, allocations: 323.5 kB / 1.522 GB, free: 1.914 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009618/1.401, allocations: 200.1 kB / 1.522 GB, free: 1.703 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.401, allocations: 43.95 kB / 1.523 GB, free: 1.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006829/1.408, allocations: 7.363 MB / 1.53 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.408, allocations: 0 / 1.53 GB, free: 9.586 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005149/1.413, allocations: 1.998 MB / 1.532 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.414, allocations: 0.5187 MB / 1.532 GB, free: 7.012 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/1.415, allocations: 35.95 kB / 1.532 GB, free: 6.977 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.416, allocations: 102.5 kB / 1.532 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/1.416, allocations: 117.1 kB / 1.532 GB, free: 6.762 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.416, allocations: 67.95 kB / 1.532 GB, free: 6.695 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00379/1.42, allocations: 3.124 MB / 1.536 GB, free: 3.578 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.42, allocations: 0 / 1.536 GB, free: 3.578 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002591/1.423, allocations: 0.6898 MB / 1.536 GB, free: 2.887 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007751/1.431, allocations: 3.215 MB / 1.539 GB, free: 15.83 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00406/1.435, allocations: 2.008 MB / 1.541 GB, free: 13.76 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.435, allocations: 0.5625 kB / 1.541 GB, free: 13.76 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.437, allocations: 1.364 MB / 1.543 GB, free: 12.33 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.44, allocations: 0.5603 MB / 1.543 GB, free: 11.8 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/1.475, allocations: 20.82 MB / 1.564 GB, free: 6.727 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.477, allocations: 1.533 MB / 1.565 GB, free: 5.16 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002045/1.479, allocations: 0.529 MB / 1.566 GB, free: 4.625 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/1.48, allocations: 0.8975 MB / 1.566 GB, free: 3.727 MB / 1.248 GB Notification: Performance of SimCode: time 1.764e-06/1.48, allocations: 0 / 1.566 GB, free: 3.727 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/1.601, allocations: 49.44 MB / 1.615 GB, free: 2.754 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/18.41, allocations: 0 / 1.615 GB, free: 2.754 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.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: 25.040580726024928]