Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 100.1 kB / 15.88 MB, free: 12 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.001825/0.001825, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7287, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1781/0.9069, allocations: 164.7 MB / 1.11 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.9303, allocations: 16.96 MB / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.9318, allocations: 31.81 kB / 1.127 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.9336, allocations: 429.4 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004502/0.9382, allocations: 1.358 MB / 1.129 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.9418, allocations: 1.166 MB / 1.13 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.9451, allocations: 2.638 MB / 1.133 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.9481, allocations: 1.81 MB / 1.134 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005502/0.9536, allocations: 1.161 MB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.9552, allocations: 0.9177 MB / 1.136 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.9558, allocations: 112 kB / 1.136 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.9593, allocations: 1.466 MB / 1.138 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.96, allocations: 482.2 kB / 1.138 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.9615, allocations: 0.9015 MB / 1.139 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003216/0.9648, allocations: 2.249 MB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9648, allocations: 0 / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9648, allocations: 0 / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.378e-05/0.9649, allocations: 0 / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005396/0.9703, allocations: 2.25 MB / 1.144 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.9704, allocations: 8.031 kB / 1.144 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/0.9744, allocations: 0.5049 MB / 1.144 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.9768, allocations: 1.09 MB / 1.145 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.977, allocations: 127.4 kB / 1.145 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/0.9774, allocations: 168 kB / 1.145 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004254/0.9817, allocations: 1.839 MB / 1.147 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.9817, allocations: 4 kB / 1.147 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.982, allocations: 72 kB / 1.147 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.59e-05/0.982, allocations: 40 kB / 1.147 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003735/0.9858, allocations: 1.878 MB / 1.149 GB, free: 4.918 MB / 0.9044 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.009462/0.9953, allocations: 5.168 MB / 1.154 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/0.9988, allocations: 1.763 MB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/1, allocations: 0.6553 MB / 1.157 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/1.001, allocations: 0.8077 MB / 1.157 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002057/1.003, allocations: 0.8918 MB / 1.158 GB, free: 11.12 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.789e-06/1.003, allocations: 3.938 kB / 1.158 GB, free: 11.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.00677/1.01, allocations: 2.552 MB / 1.161 GB, free: 8.449 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/1.01, allocations: 205.2 kB / 1.161 GB, free: 8.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.012, allocations: 0.8422 MB / 1.162 GB, free: 7.336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002039/1.012, allocations: 53.7 kB / 1.162 GB, free: 7.277 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/1.012, allocations: 0.6407 MB / 1.162 GB, free: 6.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/1.013, allocations: 481 kB / 1.163 GB, free: 6.148 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004798/1.013, allocations: 254.8 kB / 1.163 GB, free: 5.895 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.014, allocations: 357.9 kB / 1.163 GB, free: 5.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/1.015, allocations: 494.3 kB / 1.164 GB, free: 5.055 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.016, allocations: 0.6346 MB / 1.165 GB, free: 4.395 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/1.018, allocations: 1.13 MB / 1.166 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.018, allocations: 0 / 1.166 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003813/1.022, allocations: 1.55 MB / 1.167 GB, free: 1.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.022, allocations: 5.875 kB / 1.167 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.022, allocations: 0 / 1.167 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009933/1.023, allocations: 200.2 kB / 1.167 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.025, allocations: 335.6 kB / 1.168 GB, free: 1.137 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/1.031, allocations: 6.771 MB / 1.174 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.033, allocations: 166.7 kB / 1.174 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/1.033, allocations: 55.95 kB / 1.175 GB, free: 9.477 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001076/1.034, allocations: 379.5 kB / 1.175 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005333/1.035, allocations: 138.4 kB / 1.175 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/1.039, allocations: 1.846 MB / 1.177 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.04, allocations: 16 kB / 1.177 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.04, allocations: 4 kB / 1.177 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.04, allocations: 7.969 kB / 1.177 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007113/1.047, allocations: 3.435 MB / 1.18 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/1.047, allocations: 4 kB / 1.18 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.048, allocations: 323.5 kB / 1.181 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008925/1.049, allocations: 188.1 kB / 1.181 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/1.049, allocations: 43.97 kB / 1.181 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005935/1.055, allocations: 6.794 MB / 1.187 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.055, allocations: 0 / 1.187 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/1.06, allocations: 1.711 MB / 1.189 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008879/1.061, allocations: 406.8 kB / 1.189 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/1.061, allocations: 31.94 kB / 1.189 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.063, allocations: 125.7 kB / 1.19 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000275/1.063, allocations: 109.2 kB / 1.19 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.063, allocations: 71.94 kB / 1.19 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009492/1.064, allocations: 0.5823 MB / 1.19 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 0 / 1.19 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001899/1.066, allocations: 0.5805 MB / 1.191 GB, free: 7.852 MB / 0.9512 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/1.068, allocations: 0.7358 MB / 1.192 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003743/1.072, allocations: 1.86 MB / 1.193 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.072, allocations: 4.562 kB / 1.193 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/1.074, allocations: 1.297 MB / 1.195 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/1.077, allocations: 470 kB / 1.195 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007323/1.084, allocations: 3.729 MB / 1.199 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.085, allocations: 1.296 MB / 1.2 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/1.086, allocations: 171.3 kB / 1.2 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of SimCode: time 9.31e-07/1.086, allocations: 0 / 1.2 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of Templates: time 0.06652/1.153, allocations: 57.22 MB / 1.256 GB, free: 5.074 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches