Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001482/0.001482, allocations: 110.8 kB / 16.46 MB, free: 6.504 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.001741/0.001741, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.88 kB / 1.056 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.954, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2279/1.182, allocations: 177.1 MB / 1.386 GB, free: 6.473 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01716/1.199, allocations: 10.96 MB / 1.397 GB, free: 11.47 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/1.201, allocations: 31.81 kB / 1.397 GB, free: 11.44 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/1.202, allocations: 420.7 kB / 1.397 GB, free: 11.03 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/1.206, allocations: 1.12 MB / 1.398 GB, free: 9.906 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/1.21, allocations: 1.728 MB / 1.4 GB, free: 8.184 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004113/1.215, allocations: 2.369 MB / 1.402 GB, free: 5.805 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/1.217, allocations: 1.147 MB / 1.403 GB, free: 4.617 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/1.22, allocations: 1.298 MB / 1.405 GB, free: 3.332 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/1.222, allocations: 0.8325 MB / 1.405 GB, free: 2.496 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002575/1.222, allocations: 152 kB / 1.405 GB, free: 2.348 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/1.225, allocations: 1.462 MB / 1.407 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004873/1.226, allocations: 458.5 kB / 1.407 GB, free: 444 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009613/1.227, allocations: 0.7853 MB / 1.408 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004589/1.231, allocations: 2.596 MB / 1.411 GB, free: 13.04 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.231, allocations: 0 / 1.411 GB, free: 13.04 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.296e-06/1.231, allocations: 4 kB / 1.411 GB, free: 13.04 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.876e-05/1.231, allocations: 0 / 1.411 GB, free: 13.04 MB / 1.123 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.003822/1.235, allocations: 1.936 MB / 1.413 GB, free: 11.04 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.235, allocations: 20.48 kB / 1.413 GB, free: 11.02 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/1.235, allocations: 181.4 kB / 1.413 GB, free: 10.83 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/1.238, allocations: 358.7 kB / 1.413 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.239, allocations: 0.9962 MB / 1.414 GB, free: 9.438 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/1.239, allocations: 90.33 kB / 1.414 GB, free: 9.348 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/1.24, allocations: 116 kB / 1.414 GB, free: 9.234 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.242, allocations: 1.294 MB / 1.416 GB, free: 7.875 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.242, allocations: 0 / 1.416 GB, free: 7.875 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/1.242, allocations: 55.98 kB / 1.416 GB, free: 7.82 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/1.242, allocations: 28 kB / 1.416 GB, free: 7.793 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/1.244, allocations: 1.449 MB / 1.417 GB, free: 6.336 MB / 1.123 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.006967/1.251, allocations: 4.043 MB / 1.421 GB, free: 2.082 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/1.254, allocations: 1.163 MB / 1.422 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/1.254, allocations: 417 kB / 1.422 GB, free: 0.4961 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/1.255, allocations: 425.5 kB / 1.423 GB, free: 8 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/1.256, allocations: 0.6567 MB / 1.424 GB, free: 15.33 MB / 1.139 GB Notification: Performance of pre-optimization done (n=106): time 2.775e-06/1.256, allocations: 0 / 1.424 GB, free: 15.33 MB / 1.139 GB Notification: Performance of matching and sorting (n=106): time 0.004264/1.261, allocations: 1.614 MB / 1.425 GB, free: 13.69 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.261, allocations: 200.9 kB / 1.425 GB, free: 13.45 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.262, allocations: 0.875 MB / 1.426 GB, free: 12.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.262, allocations: 49.7 kB / 1.426 GB, free: 12.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/1.263, allocations: 0.5246 MB / 1.427 GB, free: 11.97 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/1.263, allocations: 368.9 kB / 1.427 GB, free: 11.61 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.263, allocations: 190.6 kB / 1.427 GB, free: 11.41 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.264, allocations: 349.9 kB / 1.428 GB, free: 11.06 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/1.264, allocations: 361.8 kB / 1.428 GB, free: 10.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008955/1.265, allocations: 0.4971 MB / 1.428 GB, free: 10.18 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/1.267, allocations: 0.8446 MB / 1.429 GB, free: 9.316 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.267, allocations: 0 / 1.429 GB, free: 9.316 MB / 1.139 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002718/1.27, allocations: 1.115 MB / 1.43 GB, free: 8.191 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.27, allocations: 8 kB / 1.43 GB, free: 8.184 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.27, allocations: 8.078 kB / 1.43 GB, free: 8.176 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/1.27, allocations: 84.72 kB / 1.43 GB, free: 8.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/1.271, allocations: 223.7 kB / 1.431 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/1.274, allocations: 1.661 MB / 1.432 GB, free: 6.062 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.275, allocations: 123.2 kB / 1.432 GB, free: 5.941 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/1.275, allocations: 43.97 kB / 1.432 GB, free: 5.898 MB / 1.139 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.0006595/1.276, allocations: 315.1 kB / 1.433 GB, free: 5.582 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/1.276, allocations: 135.2 kB / 1.433 GB, free: 5.449 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.279, allocations: 1.494 MB / 1.434 GB, free: 3.934 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.279, allocations: 12 kB / 1.434 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.279, allocations: 0 / 1.434 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.279, allocations: 7.922 kB / 1.434 GB, free: 3.914 MB / 1.139 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.005265/1.285, allocations: 2.847 MB / 1.437 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.285, allocations: 192 / 1.437 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/1.285, allocations: 203.7 kB / 1.437 GB, free: 0.7617 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/1.286, allocations: 76.78 kB / 1.437 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.512e-05/1.286, allocations: 35.97 kB / 1.437 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/1.288, allocations: 1.678 MB / 1.439 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.288, allocations: 0 / 1.439 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/1.292, allocations: 1.867 MB / 1.441 GB, free: 12.92 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007349/1.292, allocations: 359.9 kB / 1.441 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.293, allocations: 24 kB / 1.441 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008643/1.293, allocations: 71.92 kB / 1.441 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/1.294, allocations: 96.75 kB / 1.441 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/1.294, allocations: 47.97 kB / 1.441 GB, free: 12.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009399/1.295, allocations: 0.6222 MB / 1.442 GB, free: 11.68 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.295, allocations: 0 / 1.442 GB, free: 11.68 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001274/1.296, allocations: 462.9 kB / 1.442 GB, free: 11.23 MB / 1.154 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.006066/1.302, allocations: 3.032 MB / 1.445 GB, free: 8.332 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002253/1.304, allocations: 1.03 MB / 1.446 GB, free: 7.289 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.304, allocations: 3.859 kB / 1.446 GB, free: 7.285 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/1.306, allocations: 0.6216 MB / 1.447 GB, free: 6.656 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.308, allocations: 0.5249 MB / 1.448 GB, free: 6.145 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/1.323, allocations: 8.817 MB / 1.456 GB, free: 13.13 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/1.324, allocations: 1.168 MB / 1.457 GB, free: 11.94 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001325/1.325, allocations: 373.6 kB / 1.458 GB, free: 11.57 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/1.326, allocations: 0.5344 MB / 1.458 GB, free: 11.04 MB / 1.17 GB Notification: Performance of SimCode: time 6.61e-07/1.326, allocations: 0 / 1.458 GB, free: 11.04 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08425/1.41, allocations: 33.31 MB / 1.491 GB, free: 9.988 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/16.17, allocations: 15.94 kB / 1.491 GB, free: 9.973 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.805474469903857]