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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001104/0.001104, allocations: 191.7 kB / 16.13 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.611/2.611, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.637, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1912/0.8282, allocations: 166.1 MB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02308/0.8513, allocations: 17.39 MB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.8537, allocations: 27.81 kB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.8555, allocations: 489 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.8607, allocations: 1.591 MB / 1.198 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.8643, allocations: 1.273 MB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004243/0.8685, allocations: 3.096 MB / 1.202 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.8714, allocations: 1.802 MB / 1.204 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.8768, allocations: 1.254 MB / 1.205 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.8788, allocations: 1.095 MB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.8791, allocations: 120 kB / 1.206 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.8824, allocations: 1.571 MB / 1.208 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.8831, allocations: 0.693 MB / 1.208 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.8844, allocations: 1.115 MB / 1.21 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004728/0.8891, allocations: 3.493 MB / 1.213 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8891, allocations: 4 kB / 1.213 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.115e-06/0.8892, allocations: 3.984 kB / 1.213 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.608e-05/0.8892, allocations: 4 kB / 1.213 GB, free: 8.922 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.004696/0.8939, allocations: 2.748 MB / 1.216 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.894, allocations: 8.031 kB / 1.216 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.8978, allocations: 0.5551 MB / 1.216 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.9004, allocations: 1.595 MB / 1.218 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.9005, allocations: 135.3 kB / 1.218 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002153/0.9007, allocations: 164 kB / 1.218 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/0.9041, allocations: 1.948 MB / 1.22 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.9041, allocations: 3.938 kB / 1.22 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001676/0.9043, allocations: 72 kB / 1.22 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.9044, allocations: 44 kB / 1.22 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003461/0.9078, allocations: 2.085 MB / 1.222 GB, free: 15.39 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.009783/0.9176, allocations: 6.072 MB / 1.228 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.921, allocations: 2.095 MB / 1.23 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.9223, allocations: 0.7569 MB / 1.231 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/0.9229, allocations: 433.6 kB / 1.231 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.9246, allocations: 1.013 MB / 1.232 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 4.338e-06/0.9246, allocations: 0 / 1.232 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006784/0.9314, allocations: 2.954 MB / 1.235 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.9316, allocations: 201.2 kB / 1.235 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.9342, allocations: 1.787 MB / 1.237 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.9344, allocations: 57.7 kB / 1.237 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000851/0.9352, allocations: 0.8311 MB / 1.238 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004977/0.9357, allocations: 485 kB / 1.238 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/0.9362, allocations: 250.8 kB / 1.239 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9363, allocations: 357.9 kB / 1.239 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.9374, allocations: 0.596 MB / 1.24 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.9387, allocations: 0.8052 MB / 1.24 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.941, allocations: 1.333 MB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.941, allocations: 0 / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00384/0.9448, allocations: 1.807 MB / 1.243 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.9449, allocations: 7.938 kB / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.9449, allocations: 0 / 1.243 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.946, allocations: 212.2 kB / 1.244 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.9476, allocations: 335.5 kB / 1.244 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005674/0.9533, allocations: 6.807 MB / 1.251 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.9551, allocations: 182.9 kB / 1.251 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.9553, allocations: 59.95 kB / 1.251 GB, free: 0.5 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.0009669/0.9562, allocations: 492 kB / 1.251 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5364/1.493, allocations: 176.5 kB / 1.251 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/1.498, allocations: 2.121 MB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/1.498, allocations: 15.16 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.498, allocations: 2.938 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.498, allocations: 10.03 kB / 1.254 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007952/1.506, allocations: 3.976 MB / 1.257 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.506, allocations: 0 / 1.257 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.508, allocations: 316.9 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/1.509, allocations: 219.5 kB / 1.258 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/1.509, allocations: 44.31 kB / 1.258 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/1.514, allocations: 6.835 MB / 1.265 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.514, allocations: 0.5156 kB / 1.265 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/1.518, allocations: 1.987 MB / 1.267 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/1.52, allocations: 473.7 kB / 1.267 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.52, allocations: 32.73 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/1.521, allocations: 130.7 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/1.521, allocations: 120.5 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.522, allocations: 69.64 kB / 1.267 GB, free: 221.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002037/1.524, allocations: 1.281 MB / 1.269 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.524, allocations: 0 / 1.269 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00184/1.526, allocations: 0.6833 MB / 1.269 GB, free: 220.5 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.001672/1.527, allocations: 0.752 MB / 1.27 GB, free: 220.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003293/1.531, allocations: 2.081 MB / 1.272 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.531, allocations: 2.844 kB / 1.272 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/1.533, allocations: 1.415 MB / 1.273 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.535, allocations: 0.5053 MB / 1.274 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/1.542, allocations: 4.588 MB / 1.278 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.544, allocations: 1.528 MB / 1.28 GB, free: 215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002295/1.546, allocations: 0.4965 MB / 1.28 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/1.547, allocations: 179.8 kB / 1.281 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.547, allocations: 0 / 1.281 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0442/1.591, allocations: 30.65 MB / 1.311 GB, free: 190.3 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