Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 148 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.001509/0.001509, allocations: 194 kB / 16.53 MB, free: 6.691 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.664/2.664, allocations: 437 MB / 0.7103 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6254/0.6268, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1911/0.818, allocations: 168.4 MB / 1.182 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02713/0.8451, allocations: 17.33 MB / 1.199 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.8471, allocations: 27.81 kB / 1.199 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.8492, allocations: 0.5661 MB / 1.199 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00631/0.8556, allocations: 1.778 MB / 1.201 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.8597, allocations: 1.43 MB / 1.202 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.8635, allocations: 2.851 MB / 1.205 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.8664, allocations: 1.94 MB / 1.207 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.8703, allocations: 1.416 MB / 1.208 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.8721, allocations: 1.113 MB / 1.21 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005716/0.8727, allocations: 224 kB / 1.21 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.8759, allocations: 1.525 MB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000857/0.8767, allocations: 0.7829 MB / 1.212 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.8785, allocations: 1.22 MB / 1.213 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004852/0.8833, allocations: 3.521 MB / 1.217 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8833, allocations: 0 / 1.217 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.879e-06/0.8834, allocations: 3.984 kB / 1.217 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001099/0.8835, allocations: 3.938 kB / 1.217 GB, free: 5.598 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00557/0.889, allocations: 2.752 MB / 1.219 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.8891, allocations: 8.031 kB / 1.219 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/0.893, allocations: 0.5591 MB / 1.22 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.8958, allocations: 1.591 MB / 1.221 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.8959, allocations: 131.4 kB / 1.222 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.8963, allocations: 167.9 kB / 1.222 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.9002, allocations: 1.944 MB / 1.224 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.9003, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.9005, allocations: 80 kB / 1.224 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.9006, allocations: 40 kB / 1.224 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/0.9047, allocations: 2.085 MB / 1.226 GB, free: 12.07 MB / 0.9825 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.01138/0.9161, allocations: 6.092 MB / 1.232 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.9198, allocations: 2.09 MB / 1.234 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.9211, allocations: 0.7569 MB / 1.234 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000593/0.9217, allocations: 433.6 kB / 1.235 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/0.9237, allocations: 1.013 MB / 1.236 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 4.318e-06/0.9237, allocations: 0 / 1.236 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007275/0.931, allocations: 2.954 MB / 1.239 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9311, allocations: 197.2 kB / 1.239 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.9338, allocations: 1.788 MB / 1.241 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.934, allocations: 57.7 kB / 1.241 GB, free: 12 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.9347, allocations: 0.831 MB / 1.242 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.9352, allocations: 484.9 kB / 1.242 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.9356, allocations: 258.8 kB / 1.242 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9357, allocations: 361.8 kB / 1.243 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.9369, allocations: 0.5921 MB / 1.243 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.9383, allocations: 0.7974 MB / 1.244 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.9407, allocations: 1.337 MB / 1.245 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9407, allocations: 4 kB / 1.245 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00399/0.9447, allocations: 1.803 MB / 1.247 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.9448, allocations: 12.03 kB / 1.247 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.9448, allocations: 4 kB / 1.247 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.9459, allocations: 216.1 kB / 1.247 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.9475, allocations: 331.5 kB / 1.248 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4907/1.438, allocations: 7.303 MB / 1.255 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.44, allocations: 158.5 kB / 1.255 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/1.44, allocations: 60.05 kB / 1.255 GB, free: 227.4 MB / 0.9981 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 (152): * Single equations (assignments): 147 * 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.001019/1.441, allocations: 484 kB / 1.255 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/1.442, allocations: 180.3 kB / 1.256 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/1.447, allocations: 2.119 MB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/1.447, allocations: 22.97 kB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.447, allocations: 2.125 kB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/1.447, allocations: 8.656 kB / 1.258 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008057/1.455, allocations: 3.985 MB / 1.262 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.455, allocations: 1.141 kB / 1.262 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/1.456, allocations: 312.2 kB / 1.262 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009811/1.457, allocations: 212.7 kB / 1.262 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/1.458, allocations: 48.98 kB / 1.262 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004582/1.462, allocations: 7.34 MB / 1.269 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.462, allocations: 3.062 kB / 1.269 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/1.467, allocations: 1.984 MB / 1.271 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/1.469, allocations: 470.4 kB / 1.272 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/1.469, allocations: 33.62 kB / 1.272 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/1.47, allocations: 105.6 kB / 1.272 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/1.471, allocations: 115.5 kB / 1.272 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.471, allocations: 69.84 kB / 1.272 GB, free: 217 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002359/1.473, allocations: 1.278 MB / 1.273 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-07/1.473, allocations: 0 / 1.273 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00306/1.476, allocations: 0.6926 MB / 1.274 GB, free: 216.4 MB / 0.9981 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.001949/1.478, allocations: 0.7537 MB / 1.275 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005704/1.484, allocations: 2.52 MB / 1.277 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.484, allocations: 2 kB / 1.277 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/1.486, allocations: 1.413 MB / 1.278 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.489, allocations: 0.5445 MB / 1.279 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/1.495, allocations: 3.762 MB / 1.283 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.497, allocations: 1.526 MB / 1.284 GB, free: 211.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002316/1.499, allocations: 0.4984 MB / 1.285 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/1.5, allocations: 174.6 kB / 1.285 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/1.5, allocations: 4 kB / 1.285 GB, free: 211.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.04544/1.545, allocations: 31.84 MB / 1.316 GB, free: 185 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches