Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001495/0.001495, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001716/0.001716, allocations: 194.2 kB / 17.3 MB, free: 5.484 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2705, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.6945/0.965, allocations: 168.4 MB / 1.191 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02125/0.9863, allocations: 17.33 MB / 1.208 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.9881, allocations: 29.97 kB / 1.208 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.9898, allocations: 0.5736 MB / 1.209 GB, free: 14.17 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.9947, allocations: 1.779 MB / 1.21 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.9981, allocations: 1.442 MB / 1.212 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003379/1.001, allocations: 2.861 MB / 1.215 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/1.004, allocations: 1.95 MB / 1.217 GB, free: 8.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/1.008, allocations: 1.424 MB / 1.218 GB, free: 7.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/1.009, allocations: 1.111 MB / 1.219 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003409/1.01, allocations: 221.6 kB / 1.219 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/1.014, allocations: 1.553 MB / 1.221 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006261/1.014, allocations: 0.7854 MB / 1.221 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/1.015, allocations: 1.227 MB / 1.223 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004964/1.02, allocations: 3.59 MB / 1.226 GB, free: 1.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.02, allocations: 3.984 kB / 1.226 GB, free: 1.113 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/1.02, allocations: 0 / 1.226 GB, free: 1.113 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.312e-05/1.02, allocations: 0 / 1.226 GB, free: 1.113 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.004658/1.025, allocations: 2.745 MB / 1.229 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.025, allocations: 8.031 kB / 1.229 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/1.029, allocations: 0.559 MB / 1.229 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/1.031, allocations: 1.634 MB / 1.231 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/1.031, allocations: 131.4 kB / 1.231 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/1.032, allocations: 168 kB / 1.231 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/1.035, allocations: 1.948 MB / 1.233 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/1.035, allocations: 0 / 1.233 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/1.035, allocations: 72 kB / 1.233 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/1.035, allocations: 44 kB / 1.233 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/1.039, allocations: 2.089 MB / 1.235 GB, free: 7.543 MB / 0.9356 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.009727/1.048, allocations: 6.021 MB / 1.241 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/1.052, allocations: 2.097 MB / 1.243 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.053, allocations: 0.7613 MB / 1.244 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005626/1.053, allocations: 429.6 kB / 1.244 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/1.055, allocations: 1.016 MB / 1.245 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 2.905e-06/1.055, allocations: 0 / 1.245 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=146): time 0.006573/1.062, allocations: 2.942 MB / 1.248 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.062, allocations: 205.2 kB / 1.249 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/1.064, allocations: 1.787 MB / 1.25 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/1.064, allocations: 57.7 kB / 1.25 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/1.065, allocations: 0.8311 MB / 1.251 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/1.065, allocations: 485 kB / 1.252 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/1.066, allocations: 250.8 kB / 1.252 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.066, allocations: 361.9 kB / 1.252 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/1.067, allocations: 0.5882 MB / 1.253 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.068, allocations: 0.7975 MB / 1.254 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.071, allocations: 1.333 MB / 1.255 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.071, allocations: 4 kB / 1.255 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004155/1.075, allocations: 1.807 MB / 1.257 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/1.075, allocations: 8 kB / 1.257 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.075, allocations: 3.938 kB / 1.257 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.076, allocations: 220.1 kB / 1.257 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/1.078, allocations: 331.6 kB / 1.257 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/1.084, allocations: 7.313 MB / 1.264 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.085, allocations: 158.9 kB / 1.264 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/1.085, allocations: 59.89 kB / 1.264 GB, free: 8.191 MB / 0.9669 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.0009361/1.086, allocations: 487.3 kB / 1.265 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/1.087, allocations: 189.7 kB / 1.265 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/1.091, allocations: 2.121 MB / 1.267 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.091, allocations: 16 kB / 1.267 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.091, allocations: 0 / 1.267 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.091, allocations: 7.969 kB / 1.267 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006389/1.097, allocations: 3.976 MB / 1.271 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.097, allocations: 0 / 1.271 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.099, allocations: 315.5 kB / 1.271 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008471/1.099, allocations: 216.1 kB / 1.272 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/1.1, allocations: 39.97 kB / 1.272 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/1.105, allocations: 7.348 MB / 1.279 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.105, allocations: 0 / 1.279 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/1.109, allocations: 1.992 MB / 1.281 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/1.11, allocations: 470.4 kB / 1.281 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/1.11, allocations: 31.91 kB / 1.281 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.111, allocations: 103.1 kB / 1.281 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.111, allocations: 113.2 kB / 1.281 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/1.112, allocations: 67.95 kB / 1.282 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001528/1.113, allocations: 1.285 MB / 1.283 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 0 / 1.283 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001714/1.115, allocations: 0.682 MB / 1.283 GB, free: 3.871 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.001666/1.117, allocations: 0.7512 MB / 1.284 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003178/1.12, allocations: 2.078 MB / 1.286 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.12, allocations: 4.562 kB / 1.286 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/1.122, allocations: 1.418 MB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.124, allocations: 0.563 MB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/1.129, allocations: 3.685 MB / 1.292 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.13, allocations: 1.529 MB / 1.293 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001496/1.132, allocations: 0.497 MB / 1.294 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/1.132, allocations: 175.3 kB / 1.294 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.132, allocations: 0 / 1.294 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.04925/1.182, allocations: 31.83 MB / 1.325 GB, free: 9.684 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches