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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001609/0.001609, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001875/0.001875, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.36 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2866, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.6425/0.9291, allocations: 168.4 MB / 1.183 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.9506, allocations: 17.34 MB / 1.2 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.9521, allocations: 30.62 kB / 1.2 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.9536, allocations: 0.5712 MB / 1.201 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.9586, allocations: 1.777 MB / 1.202 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.9621, allocations: 1.449 MB / 1.204 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.9654, allocations: 2.858 MB / 1.207 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.9678, allocations: 1.947 MB / 1.209 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.9714, allocations: 1.415 MB / 1.21 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.9729, allocations: 1.115 MB / 1.211 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.9732, allocations: 219.4 kB / 1.211 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.9764, allocations: 1.553 MB / 1.213 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.9771, allocations: 0.7963 MB / 1.214 GB, free: 15.94 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.9784, allocations: 1.216 MB / 1.215 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005002/0.9834, allocations: 3.591 MB / 1.218 GB, free: 12.62 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9834, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9834, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.238e-05/0.9835, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.92 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.004461/0.9879, allocations: 2.746 MB / 1.221 GB, free: 9.816 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.988, allocations: 19.95 kB / 1.221 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003655/0.9917, allocations: 0.5513 MB / 1.222 GB, free: 9.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.9943, allocations: 1.634 MB / 1.223 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.9945, allocations: 135.4 kB / 1.223 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.9947, allocations: 164 kB / 1.223 GB, free: 7.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.998, allocations: 1.944 MB / 1.225 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/0.998, allocations: 0 / 1.225 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.9982, allocations: 79.98 kB / 1.225 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.9982, allocations: 40 kB / 1.225 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/1.002, allocations: 2.085 MB / 1.227 GB, free: 3.059 MB / 0.92 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.009339/1.011, allocations: 6.029 MB / 1.233 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/1.014, allocations: 2.094 MB / 1.235 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/1.016, allocations: 0.7612 MB / 1.236 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/1.016, allocations: 425.6 kB / 1.237 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001673/1.018, allocations: 1.02 MB / 1.238 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.338e-06/1.018, allocations: 0 / 1.238 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006707/1.025, allocations: 2.95 MB / 1.24 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.025, allocations: 205.2 kB / 1.241 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/1.027, allocations: 1.78 MB / 1.242 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001881/1.027, allocations: 57.7 kB / 1.242 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/1.028, allocations: 0.831 MB / 1.243 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/1.028, allocations: 485 kB / 1.244 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/1.029, allocations: 254.8 kB / 1.244 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.029, allocations: 357.9 kB / 1.244 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.03, allocations: 0.6037 MB / 1.245 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/1.031, allocations: 0.7975 MB / 1.246 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/1.033, allocations: 1.333 MB / 1.247 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.033, allocations: 0 / 1.247 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003747/1.037, allocations: 1.807 MB / 1.249 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.037, allocations: 10.66 kB / 1.249 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.037, allocations: 3.938 kB / 1.249 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/1.038, allocations: 212.2 kB / 1.249 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/1.04, allocations: 335.5 kB / 1.249 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006428/1.046, allocations: 7.309 MB / 1.256 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.048, allocations: 167 kB / 1.257 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/1.048, allocations: 51.91 kB / 1.257 GB, free: 3.695 MB / 0.9512 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.00104/1.049, allocations: 491.2 kB / 1.257 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/1.05, allocations: 181.8 kB / 1.257 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/1.054, allocations: 2.121 MB / 1.259 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.054, allocations: 16 kB / 1.259 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.054, allocations: 0 / 1.259 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.054, allocations: 11.97 kB / 1.259 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00702/1.061, allocations: 3.98 MB / 1.263 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.062, allocations: 0 / 1.263 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/1.063, allocations: 315.5 kB / 1.263 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/1.064, allocations: 212.1 kB / 1.264 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/1.064, allocations: 43.95 kB / 1.264 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/1.07, allocations: 7.343 MB / 1.271 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.07, allocations: 192 / 1.271 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004079/1.074, allocations: 1.992 MB / 1.273 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/1.075, allocations: 470.3 kB / 1.273 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/1.075, allocations: 28 kB / 1.273 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.076, allocations: 105.6 kB / 1.273 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/1.077, allocations: 109.2 kB / 1.274 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.077, allocations: 71.94 kB / 1.274 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001715/1.079, allocations: 1.281 MB / 1.275 GB, free: 68 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.275 GB, free: 68 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001798/1.08, allocations: 0.6781 MB / 1.276 GB, free: 15.38 MB / 0.9825 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.001876/1.082, allocations: 0.7703 MB / 1.276 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003609/1.086, allocations: 2.074 MB / 1.278 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.086, allocations: 4.562 kB / 1.278 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/1.088, allocations: 1.422 MB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.091, allocations: 0.5444 MB / 1.28 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/1.098, allocations: 3.699 MB / 1.284 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/1.099, allocations: 1.525 MB / 1.285 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001883/1.101, allocations: 0.5009 MB / 1.286 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/1.102, allocations: 171.4 kB / 1.286 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of SimCode: time 1.122e-06/1.102, allocations: 4 kB / 1.286 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of Templates: time 0.05244/1.154, allocations: 31.81 MB / 1.317 GB, free: 5.23 MB / 1.014 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 -s gbode -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/jenkins1/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