Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001726/0.001726, 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.002138/0.002138, allocations: 216.6 kB / 23.03 MB, free: 4.949 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.8/2.8, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",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.002095/0.002095, allocations: 64.62 kB / 1.118 GB, free: 39.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 169.9 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2033/0.5577, allocations: 155.2 MB / 1.436 GB, free: 14.84 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.5797, allocations: 14.62 MB / 1.45 GB, free: 180 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.5814, allocations: 43.62 kB / 1.45 GB, free: 136 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.5833, allocations: 0.5974 MB / 1.451 GB, free: 15.53 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005123/0.5885, allocations: 1.64 MB / 1.452 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004961/0.5934, allocations: 1.72 MB / 1.454 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004595/0.598, allocations: 2.937 MB / 1.457 GB, free: 9.227 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002626/0.6007, allocations: 1.484 MB / 1.458 GB, free: 7.684 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.605, allocations: 1.478 MB / 1.46 GB, free: 6.234 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.6069, allocations: 1.087 MB / 1.461 GB, free: 5.145 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.6072, allocations: 200 kB / 1.461 GB, free: 4.949 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.6103, allocations: 1.256 MB / 1.462 GB, free: 3.691 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006308/0.6109, allocations: 0.5841 MB / 1.463 GB, free: 3.105 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.6121, allocations: 0.8516 MB / 1.464 GB, free: 2.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004603/0.6167, allocations: 3.075 MB / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6167, allocations: 0 / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6167, allocations: 0 / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.189e-05/0.6167, allocations: 3.984 kB / 1.467 GB, free: 15.16 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004369/0.6211, allocations: 2.328 MB / 1.469 GB, free: 12.78 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6211, allocations: 8.031 kB / 1.469 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.342e-05/0.6212, allocations: 43.2 kB / 1.469 GB, free: 12.73 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.6215, allocations: 236.3 kB / 1.469 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.6252, allocations: 0.5099 MB / 1.47 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.6273, allocations: 1.096 MB / 1.471 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.6275, allocations: 115.2 kB / 1.471 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.6277, allocations: 160 kB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.6315, allocations: 2.415 MB / 1.473 GB, free: 7.918 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.6315, allocations: 0 / 1.473 GB, free: 7.918 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.6317, allocations: 68 kB / 1.473 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.6317, allocations: 48 kB / 1.473 GB, free: 7.805 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.6349, allocations: 1.776 MB / 1.475 GB, free: 6.023 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.008377/0.6433, allocations: 4.645 MB / 1.48 GB, free: 1.266 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.6459, allocations: 1.256 MB / 1.481 GB, free: 4 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.6469, allocations: 0.5152 MB / 1.481 GB, free: 15.49 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005858/0.6475, allocations: 132.9 kB / 1.481 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.6493, allocations: 1.282 MB / 1.483 GB, free: 13.94 MB / 1.186 GB Notification: Performance of pre-optimization done (n=126): time 3.246e-06/0.6493, allocations: 0 / 1.483 GB, free: 13.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=126): time 0.005005/0.6543, allocations: 1.824 MB / 1.485 GB, free: 12.11 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.6545, allocations: 196.9 kB / 1.485 GB, free: 11.87 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.6559, allocations: 1.004 MB / 1.486 GB, free: 10.85 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.6561, allocations: 53.7 kB / 1.486 GB, free: 10.79 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.6568, allocations: 0.6815 MB / 1.486 GB, free: 10.1 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00042/0.6572, allocations: 440.2 kB / 1.487 GB, free: 9.668 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.6576, allocations: 214.9 kB / 1.487 GB, free: 9.449 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.6577, allocations: 349.9 kB / 1.487 GB, free: 9.102 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008976/0.6586, allocations: 430.4 kB / 1.488 GB, free: 8.684 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.6598, allocations: 0.7944 MB / 1.489 GB, free: 7.789 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.6618, allocations: 1.015 MB / 1.49 GB, free: 6.754 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6618, allocations: 0 / 1.49 GB, free: 6.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003198/0.665, allocations: 1.309 MB / 1.491 GB, free: 5.434 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.6651, allocations: 6.5 kB / 1.491 GB, free: 5.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6651, allocations: 4 kB / 1.491 GB, free: 5.426 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.6657, allocations: 88.91 kB / 1.491 GB, free: 5.336 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.667, allocations: 287.6 kB / 1.491 GB, free: 5.055 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.6693, allocations: 1.535 MB / 1.493 GB, free: 3.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.6706, allocations: 149.5 kB / 1.493 GB, free: 3.254 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.6707, allocations: 47.97 kB / 1.493 GB, free: 3.207 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008518/0.6715, allocations: 382.2 kB / 1.493 GB, free: 2.824 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.6718, allocations: 155 kB / 1.493 GB, free: 2.672 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/0.6754, allocations: 1.602 MB / 1.495 GB, free: 1.055 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.6755, allocations: 16 kB / 1.495 GB, free: 1.039 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6755, allocations: 0 / 1.495 GB, free: 1.039 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.6755, allocations: 7.969 kB / 1.495 GB, free: 1.031 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005628/0.6811, allocations: 2.933 MB / 1.498 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6811, allocations: 0 / 1.498 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.6824, allocations: 267.7 kB / 1.498 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/0.6829, allocations: 76.78 kB / 1.498 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.886e-05/0.683, allocations: 39.97 kB / 1.498 GB, free: 13.66 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.685, allocations: 1.563 MB / 1.5 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.685, allocations: 3.938 kB / 1.5 GB, free: 11.98 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004489/0.6895, allocations: 2.187 MB / 1.502 GB, free: 9.773 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/0.6904, allocations: 338.5 kB / 1.502 GB, free: 9.441 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.6907, allocations: 24 kB / 1.502 GB, free: 9.418 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.692, allocations: 87.98 kB / 1.502 GB, free: 9.332 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.6922, allocations: 101.1 kB / 1.502 GB, free: 9.234 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.6923, allocations: 59.95 kB / 1.502 GB, free: 9.176 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001246/0.6936, allocations: 0.7003 MB / 1.503 GB, free: 8.469 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6936, allocations: 0 / 1.503 GB, free: 8.469 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001682/0.6953, allocations: 0.5532 MB / 1.504 GB, free: 7.914 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007374/0.7026, allocations: 3.375 MB / 1.507 GB, free: 4.723 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002861/0.7055, allocations: 1.208 MB / 1.508 GB, free: 3.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.7055, allocations: 4.875 kB / 1.508 GB, free: 3.496 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/0.707, allocations: 0.7128 MB / 1.509 GB, free: 2.77 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.7099, allocations: 0.5762 MB / 1.509 GB, free: 2.215 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.7314, allocations: 10.16 MB / 1.519 GB, free: 7.883 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.7325, allocations: 0.7322 MB / 1.52 GB, free: 7.113 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00183/0.7344, allocations: 442.9 kB / 1.52 GB, free: 6.676 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.7356, allocations: 0.6711 MB / 1.521 GB, free: 6.004 MB / 1.217 GB Notification: Performance of SimCode: time 1.242e-06/0.7356, allocations: 0 / 1.521 GB, free: 6.004 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.8508, allocations: 40.52 MB / 1.561 GB, free: 14.12 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.04, allocations: 7.391 kB / 1.561 GB, free: 14.12 MB / 1.264 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 24.269289221963845]