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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 197.7 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 71.89 kB / 0.8694 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5413, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1805/0.7218, allocations: 176.5 MB / 1.19 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.7374, allocations: 10.9 MB / 1.2 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.7386, allocations: 27.88 kB / 1.2 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.7399, allocations: 416.7 kB / 1.201 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.7432, allocations: 1.099 MB / 1.202 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00429/0.7476, allocations: 1.701 MB / 1.204 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.7504, allocations: 2.373 MB / 1.206 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.7526, allocations: 1.4 MB / 1.207 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/0.7559, allocations: 1.263 MB / 1.209 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.7571, allocations: 0.8064 MB / 1.209 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.7575, allocations: 160 kB / 1.209 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.7605, allocations: 1.38 MB / 1.211 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.761, allocations: 454.6 kB / 1.211 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.7622, allocations: 0.7892 MB / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.7663, allocations: 2.532 MB / 1.214 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7663, allocations: 4 kB / 1.214 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7663, allocations: 0 / 1.214 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.235e-05/0.7664, allocations: 0 / 1.214 GB, free: 7.957 MB / 0.9669 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.004197/0.7706, allocations: 1.891 MB / 1.216 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.7706, allocations: 12.03 kB / 1.216 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002173/0.7708, allocations: 173.4 kB / 1.217 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002365/0.7732, allocations: 349.8 kB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.7748, allocations: 0.9485 MB / 1.218 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.7748, allocations: 90.31 kB / 1.218 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.775, allocations: 116 kB / 1.218 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.7773, allocations: 1.298 MB / 1.219 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.7773, allocations: 0 / 1.219 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.7775, allocations: 52 kB / 1.219 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.7775, allocations: 28 kB / 1.219 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.7801, allocations: 1.449 MB / 1.221 GB, free: 1.375 MB / 0.9669 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.00624/0.7863, allocations: 4.076 MB / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.7888, allocations: 1.212 MB / 1.226 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.7896, allocations: 447.6 kB / 1.226 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/0.7904, allocations: 429.5 kB / 1.227 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.7916, allocations: 0.6679 MB / 1.227 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 2.765e-06/0.7916, allocations: 4 kB / 1.227 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004382/0.796, allocations: 1.602 MB / 1.229 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.7962, allocations: 196.9 kB / 1.229 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.7973, allocations: 0.879 MB / 1.23 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.116e-05/0.7974, allocations: 45.7 kB / 1.23 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.7978, allocations: 0.5237 MB / 1.231 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.7981, allocations: 354.9 kB / 1.231 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.7985, allocations: 194.5 kB / 1.231 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7986, allocations: 345.9 kB / 1.231 GB, free: 6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007987/0.7994, allocations: 365.8 kB / 1.232 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.8003, allocations: 0.501 MB / 1.232 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.802, allocations: 0.8445 MB / 1.233 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.802, allocations: 0 / 1.233 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002688/0.8047, allocations: 1.118 MB / 1.234 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.8048, allocations: 8 kB / 1.234 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8048, allocations: 0 / 1.234 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006812/0.8055, allocations: 84.86 kB / 1.234 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.8066, allocations: 219.7 kB / 1.234 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.8088, allocations: 1.647 MB / 1.236 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.8099, allocations: 125 kB / 1.236 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.8101, allocations: 39.98 kB / 1.236 GB, free: 0.8477 MB / 0.9825 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.0006841/0.8108, allocations: 328.8 kB / 1.237 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.811, allocations: 118.5 kB / 1.237 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.8145, allocations: 1.509 MB / 1.238 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.8145, allocations: 12 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8145, allocations: 7.938 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.8146, allocations: 7.922 kB / 1.238 GB, free: 14.85 MB / 0.9981 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.005138/0.8197, allocations: 2.838 MB / 1.241 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.8197, allocations: 7.938 kB / 1.241 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8208, allocations: 191.8 kB / 1.241 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.8213, allocations: 80.84 kB / 1.241 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-05/0.8214, allocations: 31.98 kB / 1.241 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.8235, allocations: 1.681 MB / 1.243 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.8235, allocations: 4 kB / 1.243 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.8274, allocations: 1.864 MB / 1.245 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.828, allocations: 343.3 kB / 1.245 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.8282, allocations: 27.98 kB / 1.245 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8293, allocations: 75.92 kB / 1.245 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.8295, allocations: 88.77 kB / 1.245 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.8296, allocations: 47.97 kB / 1.245 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009905/0.8306, allocations: 0.6261 MB / 1.246 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.41e-07/0.8306, allocations: 8 kB / 1.246 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001282/0.8319, allocations: 451.1 kB / 1.246 GB, free: 6.18 MB / 0.9981 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.005801/0.8377, allocations: 3.022 MB / 1.249 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003426/0.8412, allocations: 1.339 MB / 1.251 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.8412, allocations: 4 kB / 1.251 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.8425, allocations: 0.6606 MB / 1.251 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.845, allocations: 0.5303 MB / 1.252 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4364/1.281, allocations: 9.274 MB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/1.282, allocations: 1.163 MB / 1.262 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001601/1.284, allocations: 369.4 kB / 1.262 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/1.285, allocations: 0.5326 MB / 1.263 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.285, allocations: 0 / 1.263 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/1.355, allocations: 32.87 MB / 1.295 GB, free: 208.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.53, allocations: 16.81 kB / 1.295 GB, free: 208.9 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[503]=31536000.000000 File[7]=75686.400000 " Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T