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.001332/0.001332, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001536/0.001536, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.785/2.785, allocations: 476.8 MB / 0.7715 GB, free: 3.941 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="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.002029/0.002029, allocations: 62.16 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 170 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1909/0.5377, allocations: 148.2 MB / 1.429 GB, free: 6.035 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02862/0.5663, allocations: 16.17 MB / 1.445 GB, free: 5.82 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.568, allocations: 39.62 kB / 1.445 GB, free: 5.781 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.5703, allocations: 0.5661 MB / 1.445 GB, free: 5.211 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005818/0.5761, allocations: 1.84 MB / 1.447 GB, free: 3.367 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.5801, allocations: 1.47 MB / 1.448 GB, free: 1.91 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004034/0.5841, allocations: 2.894 MB / 1.451 GB, free: 15 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002641/0.5868, allocations: 1.602 MB / 1.453 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.5911, allocations: 1.535 MB / 1.454 GB, free: 11.85 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.593, allocations: 1.148 MB / 1.455 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005446/0.5935, allocations: 220 kB / 1.456 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.5968, allocations: 1.486 MB / 1.457 GB, free: 8.996 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009533/0.5977, allocations: 0.8217 MB / 1.458 GB, free: 8.172 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.5994, allocations: 1.046 MB / 1.459 GB, free: 7.121 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006388/0.6058, allocations: 3.802 MB / 1.463 GB, free: 3.305 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6058, allocations: 0 / 1.463 GB, free: 3.305 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6058, allocations: 0 / 1.463 GB, free: 3.305 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001143/0.6059, allocations: 0 / 1.463 GB, free: 3.305 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.00723/0.6132, allocations: 2.938 MB / 1.465 GB, free: 320 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.6132, allocations: 16.02 kB / 1.465 GB, free: 304 kB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.144e-05/0.6133, allocations: 43.38 kB / 1.466 GB, free: 260 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005724/0.6139, allocations: 248.9 kB / 1.466 GB, free: 0 / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004937/0.6188, allocations: 0.6269 MB / 1.466 GB, free: 15.37 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.6242, allocations: 3.378 MB / 1.47 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.6243, allocations: 131.4 kB / 1.47 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004649/0.6248, allocations: 167.8 kB / 1.47 GB, free: 11.66 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005044/0.6298, allocations: 2.694 MB / 1.473 GB, free: 8.734 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.6299, allocations: 4 kB / 1.473 GB, free: 8.73 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.6301, allocations: 76 kB / 1.473 GB, free: 8.656 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.6302, allocations: 40 kB / 1.473 GB, free: 8.617 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.6343, allocations: 2.085 MB / 1.475 GB, free: 6.527 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.01141/0.6457, allocations: 4.967 MB / 1.48 GB, free: 1.473 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.6494, allocations: 1.696 MB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.6508, allocations: 0.7029 MB / 1.482 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.6514, allocations: 125.2 kB / 1.482 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002526/0.6539, allocations: 1.617 MB / 1.484 GB, free: 13.17 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 5.23e-06/0.6539, allocations: 0 / 1.484 GB, free: 13.17 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007286/0.6612, allocations: 2.594 MB / 1.486 GB, free: 10.55 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.6613, allocations: 201.2 kB / 1.486 GB, free: 10.31 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005799/0.6671, allocations: 4.085 MB / 1.49 GB, free: 6.223 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003889/0.6675, allocations: 57.7 kB / 1.49 GB, free: 6.16 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6686, allocations: 0.9037 MB / 1.491 GB, free: 5.246 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007494/0.6693, allocations: 0.4918 MB / 1.492 GB, free: 4.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/0.6699, allocations: 242.8 kB / 1.492 GB, free: 4.508 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6701, allocations: 349.9 kB / 1.492 GB, free: 4.16 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.6713, allocations: 0.5765 MB / 1.493 GB, free: 3.582 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.6731, allocations: 1.227 MB / 1.494 GB, free: 2.184 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.6756, allocations: 1.314 MB / 1.495 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6756, allocations: 0 / 1.495 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004322/0.6799, allocations: 1.776 MB / 1.497 GB, free: 15.06 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.6799, allocations: 4 kB / 1.497 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6799, allocations: 4 kB / 1.497 GB, free: 15.05 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.6811, allocations: 220.2 kB / 1.497 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.6828, allocations: 323.5 kB / 1.498 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/0.6895, allocations: 6.784 MB / 1.504 GB, free: 7.152 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.6914, allocations: 163.2 kB / 1.504 GB, free: 6.992 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.6917, allocations: 51.97 kB / 1.504 GB, free: 6.941 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.001368/0.6931, allocations: 481.4 kB / 1.505 GB, free: 6.461 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007006/0.6938, allocations: 206.7 kB / 1.505 GB, free: 6.258 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.6989, allocations: 2.126 MB / 1.507 GB, free: 4.102 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/0.6989, allocations: 16 kB / 1.507 GB, free: 4.086 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.6989, allocations: 15.97 kB / 1.507 GB, free: 4.07 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.6989, allocations: 3.984 kB / 1.507 GB, free: 4.066 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008472/0.7074, allocations: 3.823 MB / 1.511 GB, free: 176 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/0.7074, allocations: 4 kB / 1.511 GB, free: 172 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.7089, allocations: 307.6 kB / 1.511 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009511/0.7099, allocations: 212.1 kB / 1.511 GB, free: 15.64 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/0.71, allocations: 39.97 kB / 1.512 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/0.7167, allocations: 6.816 MB / 1.518 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7167, allocations: 0 / 1.518 GB, free: 8.207 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004776/0.7215, allocations: 2.01 MB / 1.52 GB, free: 6.164 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.7228, allocations: 458.1 kB / 1.521 GB, free: 5.715 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004631/0.7232, allocations: 31.95 kB / 1.521 GB, free: 5.684 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.7249, allocations: 99.91 kB / 1.521 GB, free: 5.586 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.7252, allocations: 125 kB / 1.521 GB, free: 5.465 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.7254, allocations: 75.94 kB / 1.521 GB, free: 5.391 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.004049/0.7294, allocations: 3.132 MB / 1.524 GB, free: 2.266 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7294, allocations: 0 / 1.524 GB, free: 2.266 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002262/0.7317, allocations: 0.6937 MB / 1.525 GB, free: 1.57 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.007459/0.7391, allocations: 3.242 MB / 1.528 GB, free: 14.49 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004137/0.7433, allocations: 2.004 MB / 1.53 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7433, allocations: 0.6562 kB / 1.53 GB, free: 12.42 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.7455, allocations: 1.36 MB / 1.531 GB, free: 11 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/0.7488, allocations: 0.5566 MB / 1.532 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03583/0.7846, allocations: 20.9 MB / 1.552 GB, free: 5.316 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/0.7861, allocations: 0.9552 MB / 1.553 GB, free: 4.328 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002081/0.7882, allocations: 0.5329 MB / 1.553 GB, free: 3.789 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/0.7898, allocations: 0.9054 MB / 1.554 GB, free: 2.883 MB / 1.248 GB Notification: Performance of SimCode: time 7.41e-07/0.7898, allocations: 0 / 1.554 GB, free: 2.883 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7999/1.59, allocations: 52.61 MB / 1.606 GB, free: 311 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.68/19.27, allocations: 10.14 kB / 1.606 GB, free: 311 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.55055758403614]