Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 249.3 MB / 261.9 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 170.7 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009495/0.0009492, allocations: 92.16 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.418e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2293, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.7/5.929, allocations: 2.219 GB / 3.111 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/5.929, allocations: 88.14 kB / 3.111 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.216/7.145, allocations: 384.4 MB / 3.487 GB, free: 68.43 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.883e-06/7.145, allocations: 0 / 3.487 GB, free: 68.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001638/7.145, allocations: 39.94 kB / 3.487 GB, free: 68.39 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003643/7.149, allocations: 1.499 MB / 3.488 GB, free: 66.83 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/7.149, allocations: 8.031 kB / 3.488 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/7.151, allocations: 346.3 kB / 3.489 GB, free: 66.48 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002805/7.154, allocations: 1.113 MB / 3.49 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/7.154, allocations: 86.22 kB / 3.49 GB, free: 65.24 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/7.155, allocations: 119.8 kB / 3.49 GB, free: 65.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/7.157, allocations: 1.168 MB / 3.491 GB, free: 63.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/7.157, allocations: 0 / 3.491 GB, free: 63.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/7.157, allocations: 48 kB / 3.491 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/7.157, allocations: 28 kB / 3.491 GB, free: 63.81 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/7.159, allocations: 1.328 MB / 3.492 GB, free: 62.48 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006092/7.165, allocations: 3.744 MB / 3.496 GB, free: 58.58 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/7.167, allocations: 1.101 MB / 3.497 GB, free: 57.45 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/7.168, allocations: 407.2 kB / 3.498 GB, free: 57.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/7.168, allocations: 429.1 kB / 3.498 GB, free: 56.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008095/7.169, allocations: 0.5675 MB / 3.498 GB, free: 55.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 2.766e-06/7.169, allocations: 0 / 3.498 GB, free: 55.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.002284/7.171, allocations: 0.9682 MB / 3.499 GB, free: 55 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/7.171, allocations: 244.1 kB / 3.5 GB, free: 54.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/7.173, allocations: 0.7712 MB / 3.5 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/7.173, allocations: 49.7 kB / 3.5 GB, free: 53.85 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/7.173, allocations: 0.4886 MB / 3.501 GB, free: 53.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/7.173, allocations: 331.1 kB / 3.501 GB, free: 53.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/7.173, allocations: 16 kB / 3.501 GB, free: 53.01 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/7.174, allocations: 345.9 kB / 3.502 GB, free: 52.67 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/7.174, allocations: 309.9 kB / 3.502 GB, free: 52.37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/7.175, allocations: 463.8 kB / 3.502 GB, free: 51.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/7.175, allocations: 385.1 kB / 3.503 GB, free: 51.49 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/7.175, allocations: 0 / 3.503 GB, free: 51.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001996/7.177, allocations: 0.993 MB / 3.504 GB, free: 50.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/7.177, allocations: 4.938 kB / 3.504 GB, free: 50.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/7.177, allocations: 4 kB / 3.504 GB, free: 50.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/7.178, allocations: 80.84 kB / 3.504 GB, free: 50.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/7.179, allocations: 207.7 kB / 3.504 GB, free: 50.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/7.18, allocations: 1.533 MB / 3.505 GB, free: 48.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/7.181, allocations: 126.9 kB / 3.506 GB, free: 48.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/7.182, allocations: 39.97 kB / 3.506 GB, free: 48.36 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002504/7.182, allocations: 159.3 kB / 3.506 GB, free: 48.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/7.182, allocations: 114.6 kB / 3.506 GB, free: 48.08 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/7.185, allocations: 1.389 MB / 3.507 GB, free: 46.67 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/7.185, allocations: 12 kB / 3.507 GB, free: 46.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/7.185, allocations: 0 / 3.507 GB, free: 46.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/7.185, allocations: 7.969 kB / 3.507 GB, free: 46.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/7.189, allocations: 2.628 MB / 3.51 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/7.189, allocations: 0 / 3.51 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/7.19, allocations: 200 kB / 3.51 GB, free: 43.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/7.191, allocations: 92.72 kB / 3.51 GB, free: 43.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-05/7.191, allocations: 27.98 kB / 3.51 GB, free: 43.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/7.192, allocations: 1.556 MB / 3.512 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/7.192, allocations: 0 / 3.512 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/7.195, allocations: 1.755 MB / 3.513 GB, free: 40.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/7.196, allocations: 355.4 kB / 3.514 GB, free: 39.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/7.196, allocations: 20.06 kB / 3.514 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/7.197, allocations: 99.83 kB / 3.514 GB, free: 39.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/7.197, allocations: 72.84 kB / 3.514 GB, free: 39.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/7.197, allocations: 47.92 kB / 3.514 GB, free: 39.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00101/7.198, allocations: 0.625 MB / 3.515 GB, free: 38.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.81e-07/7.198, allocations: 4 kB / 3.515 GB, free: 38.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002021/7.2, allocations: 0.5537 MB / 3.515 GB, free: 38.28 MB / 0.8698 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003257/7.204, allocations: 1.826 MB / 3.517 GB, free: 36.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001865/7.205, allocations: 0.9484 MB / 3.518 GB, free: 35.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/7.205, allocations: 0 / 3.518 GB, free: 35.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/7.207, allocations: 0.59 MB / 3.518 GB, free: 34.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/7.209, allocations: 462.8 kB / 3.519 GB, free: 34.48 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/7.214, allocations: 1.965 MB / 3.521 GB, free: 32.46 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/7.215, allocations: 1.162 MB / 3.522 GB, free: 31.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001755/7.217, allocations: 364.9 kB / 3.522 GB, free: 30.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/7.217, allocations: 127.4 kB / 3.522 GB, free: 30.79 MB / 0.8698 GB Notification: Performance of SimCode: time 2.174e-06/7.217, allocations: 0 / 3.522 GB, free: 30.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.5484/7.766, allocations: 40.92 MB / 3.562 GB, free: 193.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches