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.001463/0.001463, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001456/0.001456, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.566/1.566, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.846/2.846, allocations: 476.7 MB / 0.7678 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",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.002047/0.002047, allocations: 63.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 169.9 MB / 1.279 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2703/1.318, allocations: 171.9 MB / 1.447 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03136/1.349, allocations: 17.53 MB / 1.464 GB, free: 14.4 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/1.352, allocations: 43.62 kB / 1.464 GB, free: 14.36 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/1.354, allocations: 0.5894 MB / 1.464 GB, free: 13.76 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006373/1.36, allocations: 1.828 MB / 1.466 GB, free: 11.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004569/1.365, allocations: 1.459 MB / 1.468 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005065/1.37, allocations: 2.878 MB / 1.471 GB, free: 7.598 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/1.373, allocations: 1.613 MB / 1.472 GB, free: 5.926 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005345/1.378, allocations: 1.519 MB / 1.474 GB, free: 4.449 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/1.381, allocations: 1.158 MB / 1.475 GB, free: 3.289 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006926/1.381, allocations: 224 kB / 1.475 GB, free: 3.07 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/1.385, allocations: 1.634 MB / 1.477 GB, free: 1.434 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/1.387, allocations: 0.8178 MB / 1.477 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002464/1.389, allocations: 1.271 MB / 1.479 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008733/1.398, allocations: 3.786 MB / 1.482 GB, free: 11.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.398, allocations: 0 / 1.482 GB, free: 11.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.954e-06/1.398, allocations: 0 / 1.482 GB, free: 11.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001233/1.398, allocations: 3.938 kB / 1.482 GB, free: 11.53 MB / 1.17 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.007585/1.406, allocations: 3.018 MB / 1.485 GB, free: 8.441 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.406, allocations: 8.031 kB / 1.485 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.18e-05/1.406, allocations: 51.38 kB / 1.485 GB, free: 8.383 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004528/1.406, allocations: 248.8 kB / 1.485 GB, free: 8.129 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004976/1.411, allocations: 0.6383 MB / 1.486 GB, free: 7.488 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/1.417, allocations: 3.446 MB / 1.489 GB, free: 3.992 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.417, allocations: 127.4 kB / 1.49 GB, free: 3.867 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/1.418, allocations: 171.9 kB / 1.49 GB, free: 3.699 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/1.422, allocations: 1.941 MB / 1.492 GB, free: 1.707 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/1.422, allocations: 3.938 kB / 1.492 GB, free: 1.703 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/1.423, allocations: 79.98 kB / 1.492 GB, free: 1.625 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/1.423, allocations: 40 kB / 1.492 GB, free: 1.586 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/1.427, allocations: 2.085 MB / 1.494 GB, free: 15.5 MB / 1.186 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.01418/1.442, allocations: 6.591 MB / 1.5 GB, free: 8.562 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004382/1.446, allocations: 2 MB / 1.502 GB, free: 6.488 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/1.448, allocations: 0.7099 MB / 1.503 GB, free: 5.777 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/1.448, allocations: 425.6 kB / 1.503 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002278/1.451, allocations: 1.001 MB / 1.504 GB, free: 4.266 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.617e-06/1.451, allocations: 4 kB / 1.504 GB, free: 4.262 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.008543/1.459, allocations: 2.97 MB / 1.507 GB, free: 1.18 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/1.459, allocations: 197.2 kB / 1.507 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006279/1.466, allocations: 4.081 MB / 1.511 GB, free: 12.86 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004477/1.466, allocations: 57.7 kB / 1.511 GB, free: 12.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.467, allocations: 0.9192 MB / 1.512 GB, free: 11.87 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007742/1.468, allocations: 0.4919 MB / 1.513 GB, free: 11.37 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005069/1.468, allocations: 238.8 kB / 1.513 GB, free: 11.13 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.469, allocations: 349.9 kB / 1.513 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/1.47, allocations: 0.5764 MB / 1.514 GB, free: 10.21 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.472, allocations: 0.7852 MB / 1.515 GB, free: 9.355 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/1.474, allocations: 1.314 MB / 1.516 GB, free: 8.031 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.474, allocations: 0 / 1.516 GB, free: 8.031 MB / 1.201 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004846/1.479, allocations: 1.776 MB / 1.518 GB, free: 6.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/1.479, allocations: 5.875 kB / 1.518 GB, free: 6.227 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.479, allocations: 4 kB / 1.518 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.48, allocations: 220.2 kB / 1.518 GB, free: 5.992 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.482, allocations: 319.5 kB / 1.518 GB, free: 5.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/1.49, allocations: 7.324 MB / 1.525 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/1.492, allocations: 163.2 kB / 1.526 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/1.492, allocations: 51.95 kB / 1.526 GB, free: 13.44 MB / 1.217 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.001531/1.494, allocations: 493.3 kB / 1.526 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006202/1.494, allocations: 198.7 kB / 1.526 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/1.5, allocations: 2.138 MB / 1.528 GB, free: 10.59 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.5, allocations: 16 kB / 1.528 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.5, allocations: 4 kB / 1.528 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.5, allocations: 7.969 kB / 1.528 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008782/1.508, allocations: 4.119 MB / 1.532 GB, free: 6.363 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.508, allocations: 0 / 1.532 GB, free: 6.363 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.51, allocations: 319.6 kB / 1.533 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009608/1.511, allocations: 204.1 kB / 1.533 GB, free: 5.836 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.511, allocations: 43.95 kB / 1.533 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00753/1.519, allocations: 7.356 MB / 1.54 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.519, allocations: 3.938 kB / 1.54 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005284/1.524, allocations: 2.01 MB / 1.542 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/1.525, allocations: 0.5187 MB / 1.543 GB, free: 11.14 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/1.526, allocations: 32 kB / 1.543 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.527, allocations: 104.7 kB / 1.543 GB, free: 11.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/1.527, allocations: 117.1 kB / 1.543 GB, free: 10.89 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.528, allocations: 75.94 kB / 1.543 GB, free: 10.82 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00429/1.532, allocations: 3.132 MB / 1.546 GB, free: 7.695 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.71e-07/1.532, allocations: 0 / 1.546 GB, free: 7.695 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002788/1.535, allocations: 0.6976 MB / 1.547 GB, free: 6.996 MB / 1.232 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.00826/1.543, allocations: 3.206 MB / 1.55 GB, free: 3.93 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004662/1.548, allocations: 2 MB / 1.552 GB, free: 1.867 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.548, allocations: 0.5625 kB / 1.552 GB, free: 1.867 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00342/1.551, allocations: 1.368 MB / 1.553 GB, free: 444 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/1.555, allocations: 0.5491 MB / 1.554 GB, free: 15.9 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04151/1.596, allocations: 20.89 MB / 1.574 GB, free: 10.77 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/1.598, allocations: 1.537 MB / 1.575 GB, free: 9.199 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002261/1.6, allocations: 0.5328 MB / 1.576 GB, free: 8.66 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/1.602, allocations: 0.9132 MB / 1.577 GB, free: 7.746 MB / 1.264 GB Notification: Performance of SimCode: time 9.82e-07/1.602, allocations: 0 / 1.577 GB, free: 7.746 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/1.769, allocations: 49.59 MB / 1.625 GB, free: 6.621 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/18.66, allocations: 0 / 1.625 GB, free: 6.621 MB / 1.311 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 --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: 25.511753547005355]