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.0008629/0.0008629, allocations: 91.53 kB / 16.02 MB, free: 80 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.001091/0.001091, allocations: 179.3 kB / 16.92 MB, free: 6.648 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.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.624/2.624, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.000396, allocations: 12.28 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7582, allocations: 153.8 MB / 1.024 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1916/0.9499, allocations: 163.9 MB / 1.184 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02444/0.9744, allocations: 17.15 MB / 1.2 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.9765, allocations: 27.81 kB / 1.2 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.979, allocations: 489 kB / 1.201 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006251/0.9853, allocations: 1.59 MB / 1.203 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.99, allocations: 1.266 MB / 1.204 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005057/0.9951, allocations: 3.092 MB / 1.207 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/0.9987, allocations: 1.667 MB / 1.208 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/1.005, allocations: 1.116 MB / 1.209 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/1.007, allocations: 0.8941 MB / 1.21 GB, free: 160 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005651/1.007, allocations: 52 kB / 1.21 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/1.011, allocations: 1.509 MB / 1.212 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/1.012, allocations: 0.5838 MB / 1.212 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/1.014, allocations: 1.007 MB / 1.213 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004255/1.018, allocations: 2.599 MB / 1.216 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.018, allocations: 4 kB / 1.216 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.355e-06/1.018, allocations: 0 / 1.216 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001281/1.018, allocations: 0 / 1.216 GB, free: 10.38 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.005469/1.024, allocations: 2.297 MB / 1.218 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.024, allocations: 16.03 kB / 1.218 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/1.028, allocations: 0.5629 MB / 1.219 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/1.032, allocations: 1.595 MB / 1.22 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/1.032, allocations: 131.4 kB / 1.22 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/1.032, allocations: 164 kB / 1.221 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/1.037, allocations: 1.948 MB / 1.223 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.037, allocations: 0 / 1.223 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/1.037, allocations: 75.98 kB / 1.223 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/1.037, allocations: 44 kB / 1.223 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004136/1.041, allocations: 2.093 MB / 1.225 GB, free: 1.281 MB / 0.9669 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.01151/1.053, allocations: 6.098 MB / 1.231 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/1.057, allocations: 2.109 MB / 1.233 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/1.058, allocations: 0.7608 MB / 1.233 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/1.059, allocations: 437.6 kB / 1.234 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002017/1.061, allocations: 1.017 MB / 1.235 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 4.989e-06/1.061, allocations: 3.938 kB / 1.235 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.007296/1.068, allocations: 2.973 MB / 1.238 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.069, allocations: 197.2 kB / 1.238 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003099/1.072, allocations: 1.791 MB / 1.24 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.072, allocations: 57.7 kB / 1.24 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/1.073, allocations: 0.8272 MB / 1.241 GB, free: 316 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005332/1.073, allocations: 481.2 kB / 1.241 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/1.073, allocations: 109.7 kB / 1.241 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.074, allocations: 357.9 kB / 1.241 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/1.075, allocations: 0.5998 MB / 1.242 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/1.076, allocations: 0.8053 MB / 1.243 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/1.079, allocations: 1.341 MB / 1.244 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.079, allocations: 0 / 1.244 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004409/1.083, allocations: 1.819 MB / 1.246 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.083, allocations: 8.031 kB / 1.246 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.083, allocations: 4 kB / 1.246 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.085, allocations: 212.1 kB / 1.246 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/1.086, allocations: 335.5 kB / 1.246 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006423/1.093, allocations: 6.817 MB / 1.253 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.095, allocations: 191.8 kB / 1.253 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/1.095, allocations: 59.95 kB / 1.253 GB, free: 2.41 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.001416/1.096, allocations: 483.2 kB / 1.254 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/1.097, allocations: 177.8 kB / 1.254 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5768/1.674, allocations: 2.134 MB / 1.256 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/1.674, allocations: 14.94 kB / 1.256 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.674, allocations: 3.344 kB / 1.256 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.161e-05/1.674, allocations: 7.781 kB / 1.256 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009833/1.684, allocations: 3.987 MB / 1.26 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.684, allocations: 0.6562 kB / 1.26 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.685, allocations: 322.9 kB / 1.26 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/1.686, allocations: 217.1 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.686, allocations: 42.61 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/1.691, allocations: 6.839 MB / 1.267 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.691, allocations: 1.281 kB / 1.267 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/1.696, allocations: 1.994 MB / 1.269 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.697, allocations: 492.8 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.697, allocations: 33.3 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.699, allocations: 149.2 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.699, allocations: 112.9 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001656/1.699, allocations: 73.86 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002332/1.701, allocations: 1.278 MB / 1.271 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.701, allocations: 0 / 1.271 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002597/1.704, allocations: 0.6855 MB / 1.272 GB, free: 218 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.001921/1.706, allocations: 0.7525 MB / 1.273 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003661/1.71, allocations: 2.091 MB / 1.275 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.71, allocations: 5.281 kB / 1.275 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.712, allocations: 1.424 MB / 1.276 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/1.715, allocations: 0.5008 MB / 1.277 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/1.721, allocations: 4.494 MB / 1.281 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.723, allocations: 1.492 MB / 1.282 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/1.723, allocations: 187.9 kB / 1.283 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.723, allocations: 5.562 kB / 1.283 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06405/1.788, allocations: 66.63 MB / 1.348 GB, free: 153.8 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/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