Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.001514/0.001514, allocations: 110 kB / 18.93 MB, free: 2.945 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.001579/0.001579, allocations: 187.2 kB / 22.23 MB, free: 5.164 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.342/1.342, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.938/2.938, allocations: 496 MB / 0.7835 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 61.52 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3357, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2061/0.5418, allocations: 177.7 MB / 1.481 GB, free: 15.44 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01923/0.561, allocations: 13.05 MB / 1.494 GB, free: 2.355 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.5625, allocations: 43.62 kB / 1.494 GB, free: 2.312 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.5639, allocations: 488.3 kB / 1.494 GB, free: 1.832 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.567, allocations: 1.061 MB / 1.495 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/0.5717, allocations: 1.929 MB / 1.497 GB, free: 14.84 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003601/0.5753, allocations: 2.543 MB / 1.499 GB, free: 12.29 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.5775, allocations: 1.291 MB / 1.501 GB, free: 10.95 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/0.5823, allocations: 1.632 MB / 1.502 GB, free: 9.336 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.5837, allocations: 0.8947 MB / 1.503 GB, free: 8.438 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.584, allocations: 172 kB / 1.503 GB, free: 8.27 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.5873, allocations: 1.482 MB / 1.505 GB, free: 6.785 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005188/0.5878, allocations: 0.4984 MB / 1.505 GB, free: 6.285 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.5888, allocations: 0.8747 MB / 1.506 GB, free: 5.406 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004438/0.5933, allocations: 2.81 MB / 1.509 GB, free: 2.586 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5933, allocations: 4 kB / 1.509 GB, free: 2.582 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.175e-06/0.5933, allocations: 4 kB / 1.509 GB, free: 2.578 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.5933, allocations: 0 / 1.509 GB, free: 2.578 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003692/0.597, allocations: 2 MB / 1.511 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.597, allocations: 8.031 kB / 1.511 GB, free: 0.5234 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.5995, allocations: 422.5 kB / 1.511 GB, free: 112 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.6013, allocations: 0.9477 MB / 1.512 GB, free: 15.13 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.6013, allocations: 106.7 kB / 1.512 GB, free: 15.02 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.6015, allocations: 132 kB / 1.512 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.6041, allocations: 1.524 MB / 1.514 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6042, allocations: 0 / 1.514 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.6043, allocations: 64 kB / 1.514 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.6043, allocations: 32 kB / 1.514 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.607, allocations: 1.587 MB / 1.516 GB, free: 11.61 MB / 1.217 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.007349/0.6144, allocations: 5.347 MB / 1.521 GB, free: 5.914 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.6169, allocations: 1.132 MB / 1.522 GB, free: 4.777 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008289/0.6177, allocations: 454.4 kB / 1.522 GB, free: 4.332 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.6183, allocations: 132.8 kB / 1.522 GB, free: 4.203 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.6197, allocations: 0.6879 MB / 1.523 GB, free: 3.496 MB / 1.217 GB Notification: Performance of pre-optimization done (n=107): time 2.204e-06/0.6197, allocations: 0 / 1.523 GB, free: 3.496 MB / 1.217 GB Notification: Performance of matching and sorting (n=107): time 0.004311/0.624, allocations: 1.598 MB / 1.525 GB, free: 1.891 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.6241, allocations: 200.8 kB / 1.525 GB, free: 1.648 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.6254, allocations: 0.8921 MB / 1.526 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.6255, allocations: 53.7 kB / 1.526 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.626, allocations: 0.6025 MB / 1.526 GB, free: 68 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.6263, allocations: 376.8 kB / 1.527 GB, free: 15.7 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.6267, allocations: 214.8 kB / 1.527 GB, free: 15.48 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6268, allocations: 345.9 kB / 1.527 GB, free: 15.14 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/0.6276, allocations: 398.4 kB / 1.528 GB, free: 14.75 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.6286, allocations: 0.5772 MB / 1.528 GB, free: 14.12 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.6304, allocations: 0.9527 MB / 1.529 GB, free: 13.13 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6304, allocations: 4 kB / 1.529 GB, free: 13.12 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002814/0.6332, allocations: 1.235 MB / 1.53 GB, free: 11.88 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.6332, allocations: 8 kB / 1.53 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6332, allocations: 0 / 1.53 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.6338, allocations: 85.19 kB / 1.53 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.6349, allocations: 255.6 kB / 1.531 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.6371, allocations: 1.546 MB / 1.532 GB, free: 9.871 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.6381, allocations: 139.4 kB / 1.532 GB, free: 9.734 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.6382, allocations: 55.95 kB / 1.532 GB, free: 9.68 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (131): * Single equations (assignments): 130 * 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.0006346/0.6388, allocations: 351.2 kB / 1.533 GB, free: 9.324 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.6391, allocations: 127.2 kB / 1.533 GB, free: 9.199 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.6423, allocations: 1.433 MB / 1.534 GB, free: 7.75 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6423, allocations: 15.94 kB / 1.534 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6423, allocations: 0 / 1.534 GB, free: 7.734 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.6423, allocations: 3.984 kB / 1.534 GB, free: 7.73 MB / 1.232 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.005067/0.6474, allocations: 2.843 MB / 1.537 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6474, allocations: 0 / 1.537 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6485, allocations: 215.8 kB / 1.537 GB, free: 4.598 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.6489, allocations: 76.72 kB / 1.537 GB, free: 4.52 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.649, allocations: 31.97 kB / 1.537 GB, free: 4.488 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.651, allocations: 1.571 MB / 1.539 GB, free: 2.797 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.651, allocations: 3.984 kB / 1.539 GB, free: 2.793 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/0.6541, allocations: 1.334 MB / 1.54 GB, free: 1.438 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/0.6548, allocations: 282.8 kB / 1.54 GB, free: 1.16 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.6549, allocations: 23.94 kB / 1.54 GB, free: 1.137 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/0.6558, allocations: 81.86 kB / 1.541 GB, free: 1.059 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.656, allocations: 92.77 kB / 1.541 GB, free: 0.9688 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6561, allocations: 51.95 kB / 1.541 GB, free: 0.918 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009484/0.6571, allocations: 0.615 MB / 1.541 GB, free: 300 kB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6571, allocations: 0 / 1.541 GB, free: 300 kB / 1.232 GB Notification: Performance of remove unused functions: time 0.00134/0.6584, allocations: 0.4949 MB / 1.542 GB, free: 15.79 MB / 1.248 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 (118): * Single equations (assignments): 112 * 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.002269/0.6607, allocations: 0.7184 MB / 1.542 GB, free: 15.27 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00249/0.6632, allocations: 1.101 MB / 1.544 GB, free: 14.15 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.6632, allocations: 4 kB / 1.544 GB, free: 14.15 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.6645, allocations: 0.641 MB / 1.544 GB, free: 13.5 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.6667, allocations: 0.5269 MB / 1.545 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.6712, allocations: 2.378 MB / 1.547 GB, free: 10.59 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000903/0.6721, allocations: 1.209 MB / 1.548 GB, free: 9.344 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001211/0.6733, allocations: 393.8 kB / 1.549 GB, free: 8.957 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.6737, allocations: 139.4 kB / 1.549 GB, free: 8.82 MB / 1.248 GB Notification: Performance of SimCode: time 4.8e-07/0.6737, allocations: 0 / 1.549 GB, free: 8.82 MB / 1.248 GB Notification: Performance of Templates: time 0.04351/0.7172, allocations: 25.53 MB / 1.574 GB, free: 15.61 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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: 9.28371352981776]