Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006312/0.006312, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 75.66 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2811, allocations: 140.4 MB / 1.088 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.185/0.4662, allocations: 176 MB / 1.26 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6306/1.097, allocations: 12.73 MB / 1.272 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.098, allocations: 29.5 kB / 1.272 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/1.099, allocations: 459.3 kB / 1.273 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003317/1.103, allocations: 0.9926 MB / 1.274 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005389/1.108, allocations: 1.881 MB / 1.276 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004009/1.112, allocations: 2.411 MB / 1.278 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003962/1.116, allocations: 1.633 MB / 1.279 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006301/1.123, allocations: 1.443 MB / 1.281 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/1.125, allocations: 0.8567 MB / 1.282 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004637/1.125, allocations: 176.3 kB / 1.282 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/1.131, allocations: 1.427 MB / 1.283 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008465/1.131, allocations: 491.4 kB / 1.284 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/1.133, allocations: 0.8586 MB / 1.285 GB, free: 3.098 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007026/1.14, allocations: 2.772 MB / 1.287 GB, free: 2.789 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.14, allocations: 0 / 1.287 GB, free: 2.789 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/1.141, allocations: 0 / 1.287 GB, free: 2.789 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.873e-05/1.141, allocations: 0.875 kB / 1.287 GB, free: 2.789 MB / 1.014 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.005316/1.146, allocations: 2.066 MB / 1.289 GB, free: 1.727 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.146, allocations: 10.12 kB / 1.289 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/1.15, allocations: 417.5 kB / 1.29 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002784/1.153, allocations: 1.027 MB / 1.291 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.153, allocations: 109.6 kB / 1.291 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/1.154, allocations: 131.8 kB / 1.291 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/1.158, allocations: 1.521 MB / 1.292 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/1.158, allocations: 4.5 kB / 1.292 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/1.158, allocations: 61.23 kB / 1.293 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/1.158, allocations: 33.16 kB / 1.293 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004354/1.162, allocations: 1.583 MB / 1.294 GB, free: 1.023 MB / 1.014 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.007375/1.17, allocations: 5.042 MB / 1.299 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/1.172, allocations: 1.517 MB / 1.3 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008449/1.173, allocations: 485.8 kB / 1.301 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00074/1.174, allocations: 431.8 kB / 1.301 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/1.175, allocations: 0.6907 MB / 1.302 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.657e-06/1.175, allocations: 0 / 1.302 GB, free: 13.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.004589/1.18, allocations: 1.672 MB / 1.304 GB, free: 13.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.18, allocations: 196.8 kB / 1.304 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.181, allocations: 0.8941 MB / 1.305 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.181, allocations: 49.77 kB / 1.305 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/1.182, allocations: 0.6036 MB / 1.305 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.182, allocations: 369.4 kB / 1.306 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.183, allocations: 222.3 kB / 1.306 GB, free: 12.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.183, allocations: 351.5 kB / 1.306 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/1.183, allocations: 401.1 kB / 1.307 GB, free: 12.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.185, allocations: 0.5709 MB / 1.307 GB, free: 12.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/1.186, allocations: 0.9581 MB / 1.308 GB, free: 12.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.187, allocations: 2.031 kB / 1.308 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00306/1.19, allocations: 1.238 MB / 1.309 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.19, allocations: 7.375 kB / 1.309 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.19, allocations: 3.688 kB / 1.309 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/1.19, allocations: 87.97 kB / 1.309 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.191, allocations: 255.7 kB / 1.31 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.194, allocations: 1.645 MB / 1.311 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.195, allocations: 141 kB / 1.311 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.195, allocations: 51.44 kB / 1.311 GB, free: 10.6 MB / 1.029 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.0009062/1.196, allocations: 346.4 kB / 1.312 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/1.196, allocations: 129.1 kB / 1.312 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.199, allocations: 1.434 MB / 1.313 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.2, allocations: 14.53 kB / 1.313 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.2, allocations: 0.9375 kB / 1.313 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/1.2, allocations: 10.89 kB / 1.313 GB, free: 10.29 MB / 1.029 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.004779/1.204, allocations: 2.868 MB / 1.316 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.204, allocations: 0.8438 kB / 1.316 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/1.205, allocations: 221.4 kB / 1.316 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/1.206, allocations: 75.41 kB / 1.316 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/1.206, allocations: 36.88 kB / 1.316 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.208, allocations: 1.669 MB / 1.318 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.208, allocations: 1.234 kB / 1.318 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/1.21, allocations: 1.338 MB / 1.319 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/1.211, allocations: 357.8 kB / 1.32 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/1.211, allocations: 27.5 kB / 1.32 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009343/1.212, allocations: 80.8 kB / 1.32 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/1.212, allocations: 86.78 kB / 1.32 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.213, allocations: 52.97 kB / 1.32 GB, free: 7.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008144/1.213, allocations: 0.6182 MB / 1.321 GB, free: 7.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.213, allocations: 0.9062 kB / 1.321 GB, free: 7.859 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001453/1.215, allocations: 489.3 kB / 1.321 GB, free: 7.773 MB / 1.029 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.001587/1.216, allocations: 0.7089 MB / 1.322 GB, free: 7.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002139/1.219, allocations: 1.156 MB / 1.323 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.219, allocations: 0.875 kB / 1.323 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/1.22, allocations: 0.6821 MB / 1.324 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.223, allocations: 0.5299 MB / 1.324 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/1.23, allocations: 2.482 MB / 1.327 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009861/1.231, allocations: 1.206 MB / 1.328 GB, free: 5.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002193/1.233, allocations: 383.5 kB / 1.328 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/1.234, allocations: 143.9 kB / 1.328 GB, free: 5.465 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/1.234, allocations: 0 / 1.328 GB, free: 5.465 MB / 1.029 GB Notification: Performance of Templates: time 0.05673/1.291, allocations: 24.18 MB / 1.352 GB, free: 14.33 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches