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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 214.2 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7707 GB, free: 4.234 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 70.38 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3805, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2178/0.5983, allocations: 172 MB / 1.451 GB, free: 14.98 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02672/0.625, allocations: 17.72 MB / 1.469 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.6267, allocations: 43.62 kB / 1.469 GB, free: 13.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.6288, allocations: 0.5973 MB / 1.469 GB, free: 12.55 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.6346, allocations: 1.852 MB / 1.471 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005473/0.6401, allocations: 1.494 MB / 1.473 GB, free: 9.219 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005043/0.6452, allocations: 2.905 MB / 1.475 GB, free: 6.301 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.6485, allocations: 1.594 MB / 1.477 GB, free: 4.652 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006436/0.6549, allocations: 1.533 MB / 1.478 GB, free: 3.164 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.6571, allocations: 1.161 MB / 1.48 GB, free: 2 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007299/0.6579, allocations: 224 kB / 1.48 GB, free: 1.781 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/0.6617, allocations: 1.661 MB / 1.481 GB, free: 120 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.6628, allocations: 0.8178 MB / 1.482 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.665, allocations: 1.283 MB / 1.483 GB, free: 14.01 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.6714, allocations: 3.782 MB / 1.487 GB, free: 10.21 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6714, allocations: 0 / 1.487 GB, free: 10.21 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.238e-06/0.6714, allocations: 4 kB / 1.487 GB, free: 10.21 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001235/0.6715, allocations: 4 kB / 1.487 GB, free: 10.2 MB / 1.186 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.006774/0.6783, allocations: 2.946 MB / 1.49 GB, free: 7.203 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.6783, allocations: 15.97 kB / 1.49 GB, free: 7.188 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003211/0.6787, allocations: 244.9 kB / 1.49 GB, free: 6.938 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004395/0.683, allocations: 0.6383 MB / 1.491 GB, free: 6.297 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.6878, allocations: 3.358 MB / 1.494 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.688, allocations: 131.4 kB / 1.494 GB, free: 2.773 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.6882, allocations: 164 kB / 1.494 GB, free: 2.613 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.6915, allocations: 1.944 MB / 1.496 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.6915, allocations: 0 / 1.496 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.6917, allocations: 79.98 kB / 1.496 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.6917, allocations: 40 kB / 1.497 GB, free: 0.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/0.6952, allocations: 2.085 MB / 1.499 GB, free: 14.41 MB / 1.201 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.01091/0.7061, allocations: 6.505 MB / 1.505 GB, free: 7.559 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/0.7094, allocations: 1.706 MB / 1.507 GB, free: 5.852 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.7106, allocations: 0.7066 MB / 1.507 GB, free: 5.145 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.7111, allocations: 125.1 kB / 1.507 GB, free: 5.023 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.7128, allocations: 0.9934 MB / 1.508 GB, free: 4.012 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.426e-06/0.7128, allocations: 0 / 1.508 GB, free: 4.012 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.006842/0.7197, allocations: 2.601 MB / 1.511 GB, free: 1.387 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.7198, allocations: 201.2 kB / 1.511 GB, free: 1.148 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/0.7253, allocations: 4.077 MB / 1.515 GB, free: 13.07 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.7255, allocations: 61.7 kB / 1.515 GB, free: 13 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008605/0.7263, allocations: 0.9037 MB / 1.516 GB, free: 12.09 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.7268, allocations: 0.4957 MB / 1.516 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/0.7272, allocations: 242.8 kB / 1.517 GB, free: 11.34 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7273, allocations: 357.8 kB / 1.517 GB, free: 10.99 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.7284, allocations: 0.5726 MB / 1.518 GB, free: 10.41 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.7297, allocations: 0.793 MB / 1.518 GB, free: 9.555 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.7322, allocations: 1.31 MB / 1.52 GB, free: 8.238 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7322, allocations: 0 / 1.52 GB, free: 8.238 MB / 1.217 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004141/0.7363, allocations: 1.776 MB / 1.521 GB, free: 6.438 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.7363, allocations: 8 kB / 1.521 GB, free: 6.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.7364, allocations: 4 kB / 1.521 GB, free: 6.426 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.7375, allocations: 220.2 kB / 1.522 GB, free: 6.195 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.739, allocations: 323.6 kB / 1.522 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/0.7459, allocations: 6.803 MB / 1.529 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.7474, allocations: 169.3 kB / 1.529 GB, free: 14.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.7476, allocations: 51.97 kB / 1.529 GB, free: 14.29 MB / 1.232 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.001119/0.7487, allocations: 481.5 kB / 1.529 GB, free: 13.8 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006617/0.7494, allocations: 206.7 kB / 1.529 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/0.7542, allocations: 2.13 MB / 1.532 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.7543, allocations: 19.94 kB / 1.532 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.7543, allocations: 0 / 1.532 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.7543, allocations: 7.969 kB / 1.532 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/0.7625, allocations: 4.095 MB / 1.536 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.7625, allocations: 3.984 kB / 1.536 GB, free: 7.242 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.764, allocations: 315.6 kB / 1.536 GB, free: 6.934 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009255/0.765, allocations: 208.1 kB / 1.536 GB, free: 6.715 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.7651, allocations: 47.95 kB / 1.536 GB, free: 6.668 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007063/0.7722, allocations: 6.851 MB / 1.543 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7722, allocations: 0 / 1.543 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.777, allocations: 2.014 MB / 1.545 GB, free: 13.19 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.7784, allocations: 450 kB / 1.545 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005002/0.7789, allocations: 28 kB / 1.545 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.7805, allocations: 110.9 kB / 1.545 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.7807, allocations: 121.1 kB / 1.545 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/0.781, allocations: 63.95 kB / 1.545 GB, free: 12.43 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004639/0.7856, allocations: 3.144 MB / 1.549 GB, free: 9.297 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7856, allocations: 0 / 1.549 GB, free: 9.297 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002751/0.7883, allocations: 0.6937 MB / 1.549 GB, free: 8.602 MB / 1.248 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.007659/0.796, allocations: 3.211 MB / 1.552 GB, free: 5.531 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.7998, allocations: 1.988 MB / 1.554 GB, free: 3.477 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.7998, allocations: 4.656 kB / 1.554 GB, free: 3.473 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.8021, allocations: 1.36 MB / 1.556 GB, free: 2.051 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.8051, allocations: 0.5504 MB / 1.556 GB, free: 1.52 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/0.8404, allocations: 20.91 MB / 1.577 GB, free: 12.36 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.8422, allocations: 1.533 MB / 1.578 GB, free: 10.79 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002165/0.8443, allocations: 0.5329 MB / 1.579 GB, free: 10.25 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/0.8459, allocations: 0.9093 MB / 1.58 GB, free: 9.344 MB / 1.279 GB Notification: Performance of SimCode: time 1.062e-06/0.8459, allocations: 0 / 1.58 GB, free: 9.344 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9111/1.757, allocations: 50.5 MB / 1.629 GB, free: 308.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/19.4, allocations: 19.97 kB / 1.629 GB, free: 308.1 MB / 1.295 GB " [Timeout remaining time 280] (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 --stepSize=241.92 --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/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: 26.35759494290687]