Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.001344/0.001344, allocations: 106.5 kB / 16.45 MB, free: 6.488 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.001356/0.001356, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.786/2.786, allocations: 476.7 MB / 0.7611 GB, free: 11.43 MB / 0.6231 GB " [Timeout remaining time 177] 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,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 71.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.8942, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2178/1.112, allocations: 177.1 MB / 1.442 GB, free: 3.387 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01678/1.129, allocations: 10.97 MB / 1.452 GB, free: 8.387 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/1.13, allocations: 27.88 kB / 1.452 GB, free: 8.359 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/1.131, allocations: 424.6 kB / 1.453 GB, free: 7.941 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003187/1.135, allocations: 1.125 MB / 1.454 GB, free: 6.816 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/1.139, allocations: 1.735 MB / 1.456 GB, free: 5.086 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003023/1.142, allocations: 2.373 MB / 1.458 GB, free: 2.703 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/1.144, allocations: 1.147 MB / 1.459 GB, free: 1.512 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/1.147, allocations: 1.306 MB / 1.46 GB, free: 224 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/1.148, allocations: 0.8247 MB / 1.461 GB, free: 15.39 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002314/1.149, allocations: 156 kB / 1.461 GB, free: 15.24 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/1.152, allocations: 1.462 MB / 1.463 GB, free: 13.77 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/1.152, allocations: 454.6 kB / 1.463 GB, free: 13.33 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000887/1.153, allocations: 0.7891 MB / 1.464 GB, free: 12.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/1.158, allocations: 2.596 MB / 1.466 GB, free: 9.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.158, allocations: 0 / 1.466 GB, free: 9.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.586e-06/1.158, allocations: 0 / 1.466 GB, free: 9.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.179e-05/1.158, allocations: 0 / 1.466 GB, free: 9.93 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004119/1.162, allocations: 1.939 MB / 1.468 GB, free: 7.926 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.162, allocations: 12.03 kB / 1.468 GB, free: 7.914 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/1.162, allocations: 177.4 kB / 1.469 GB, free: 7.73 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/1.165, allocations: 358.7 kB / 1.469 GB, free: 7.379 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/1.167, allocations: 0.9961 MB / 1.47 GB, free: 6.34 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/1.167, allocations: 94.33 kB / 1.47 GB, free: 6.246 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/1.167, allocations: 112 kB / 1.47 GB, free: 6.137 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/1.169, allocations: 1.302 MB / 1.471 GB, free: 4.77 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/1.169, allocations: 4 kB / 1.471 GB, free: 4.766 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.169, allocations: 52 kB / 1.471 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.169, allocations: 28 kB / 1.471 GB, free: 4.688 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/1.172, allocations: 1.445 MB / 1.473 GB, free: 3.234 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.007503/1.18, allocations: 4.043 MB / 1.477 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/1.182, allocations: 1.154 MB / 1.478 GB, free: 13.8 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008196/1.183, allocations: 428.6 kB / 1.478 GB, free: 13.39 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008704/1.184, allocations: 425.5 kB / 1.479 GB, free: 12.9 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/1.185, allocations: 0.6605 MB / 1.479 GB, free: 12.22 MB / 1.186 GB Notification: Performance of pre-optimization done (n=106): time 2.715e-06/1.185, allocations: 0 / 1.479 GB, free: 12.22 MB / 1.186 GB Notification: Performance of matching and sorting (n=106): time 0.004531/1.189, allocations: 1.61 MB / 1.481 GB, free: 10.59 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.19, allocations: 200.9 kB / 1.481 GB, free: 10.34 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.191, allocations: 0.875 MB / 1.482 GB, free: 9.445 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.191, allocations: 49.7 kB / 1.482 GB, free: 9.391 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/1.192, allocations: 0.5246 MB / 1.483 GB, free: 8.859 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/1.192, allocations: 368.9 kB / 1.483 GB, free: 8.496 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/1.192, allocations: 194.6 kB / 1.483 GB, free: 8.301 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.193, allocations: 345.9 kB / 1.483 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/1.193, allocations: 361.8 kB / 1.484 GB, free: 7.605 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/1.194, allocations: 0.4971 MB / 1.484 GB, free: 7.07 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.196, allocations: 0.8445 MB / 1.485 GB, free: 6.211 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.196, allocations: 0 / 1.485 GB, free: 6.211 MB / 1.186 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00283/1.199, allocations: 1.118 MB / 1.486 GB, free: 5.082 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.199, allocations: 7.984 kB / 1.486 GB, free: 5.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.199, allocations: 4 kB / 1.486 GB, free: 5.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/1.199, allocations: 80.88 kB / 1.486 GB, free: 4.988 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.201, allocations: 227.7 kB / 1.486 GB, free: 4.766 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/1.203, allocations: 1.656 MB / 1.488 GB, free: 2.969 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.204, allocations: 133.9 kB / 1.488 GB, free: 2.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/1.205, allocations: 43.95 kB / 1.488 GB, free: 2.797 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * 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.0007042/1.205, allocations: 321.5 kB / 1.489 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/1.206, allocations: 135.1 kB / 1.489 GB, free: 2.34 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/1.209, allocations: 1.501 MB / 1.49 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.209, allocations: 12 kB / 1.49 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/1.209, allocations: 0 / 1.49 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.209, allocations: 11.91 kB / 1.49 GB, free: 0.7852 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 postOpt removeSimpleEquations (simulation): time 0.005396/1.214, allocations: 2.835 MB / 1.493 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.214, allocations: 4 kB / 1.493 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009226/1.215, allocations: 203.9 kB / 1.493 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/1.216, allocations: 76.78 kB / 1.493 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/1.216, allocations: 31.97 kB / 1.493 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.218, allocations: 1.674 MB / 1.495 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.218, allocations: 7.938 kB / 1.495 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/1.222, allocations: 1.863 MB / 1.497 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007417/1.223, allocations: 359.9 kB / 1.497 GB, free: 9.438 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/1.223, allocations: 24 kB / 1.497 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/1.224, allocations: 71.92 kB / 1.497 GB, free: 9.344 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.224, allocations: 88.81 kB / 1.497 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.224, allocations: 56.03 kB / 1.497 GB, free: 9.203 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009833/1.225, allocations: 0.6261 MB / 1.498 GB, free: 8.566 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.225, allocations: 4 kB / 1.498 GB, free: 8.562 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001351/1.226, allocations: 462.8 kB / 1.498 GB, free: 8.109 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * 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.006306/1.233, allocations: 3.033 MB / 1.501 GB, free: 5.23 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.235, allocations: 1.026 MB / 1.502 GB, free: 4.188 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.235, allocations: 4 kB / 1.502 GB, free: 4.184 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/1.236, allocations: 0.6294 MB / 1.503 GB, free: 3.543 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.238, allocations: 0.5213 MB / 1.503 GB, free: 3.047 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/1.255, allocations: 8.81 MB / 1.512 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/1.256, allocations: 1.162 MB / 1.513 GB, free: 8.848 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001428/1.257, allocations: 369.7 kB / 1.514 GB, free: 8.484 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008729/1.258, allocations: 0.5344 MB / 1.514 GB, free: 7.949 MB / 1.217 GB Notification: Performance of SimCode: time 1.512e-06/1.258, allocations: 3.938 kB / 1.514 GB, free: 7.945 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08959/1.347, allocations: 33.31 MB / 1.547 GB, free: 7.016 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.99, allocations: 5.406 kB / 1.547 GB, free: 7.016 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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: 22.72970043309033]