Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001168/0.001168, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 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.413/2.413, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.05 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2969, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7023/0.9993, allocations: 168.3 MB / 1.183 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02167/1.021, allocations: 17.06 MB / 1.2 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/1.023, allocations: 31.31 kB / 1.2 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/1.025, allocations: 0.5473 MB / 1.2 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004709/1.029, allocations: 1.618 MB / 1.202 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003826/1.033, allocations: 1.332 MB / 1.203 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003416/1.037, allocations: 2.686 MB / 1.206 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/1.039, allocations: 1.884 MB / 1.208 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/1.042, allocations: 1.362 MB / 1.209 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/1.044, allocations: 0.9775 MB / 1.21 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/1.044, allocations: 206.6 kB / 1.21 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/1.047, allocations: 1.426 MB / 1.212 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004821/1.047, allocations: 0.5589 MB / 1.212 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00094/1.048, allocations: 1.035 MB / 1.213 GB, free: 184 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003724/1.052, allocations: 3.107 MB / 1.216 GB, free: 14.01 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.052, allocations: 0 / 1.216 GB, free: 14.01 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.974e-06/1.052, allocations: 0 / 1.216 GB, free: 14.01 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.788e-05/1.052, allocations: 0 / 1.216 GB, free: 14.01 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003634/1.055, allocations: 2.284 MB / 1.218 GB, free: 12.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/1.055, allocations: 13.91 kB / 1.218 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/1.059, allocations: 0.5139 MB / 1.219 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/1.061, allocations: 1.109 MB / 1.22 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.061, allocations: 131.4 kB / 1.22 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/1.061, allocations: 168 kB / 1.22 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.064, allocations: 1.843 MB / 1.222 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/1.064, allocations: 3.938 kB / 1.222 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/1.064, allocations: 76 kB / 1.222 GB, free: 8.527 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/1.064, allocations: 43.94 kB / 1.222 GB, free: 8.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00316/1.068, allocations: 1.878 MB / 1.224 GB, free: 6.602 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.007939/1.075, allocations: 5.492 MB / 1.229 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/1.078, allocations: 1.772 MB / 1.231 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/1.08, allocations: 0.6598 MB / 1.232 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009038/1.081, allocations: 0.8038 MB / 1.233 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/1.082, allocations: 0.8957 MB / 1.233 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 3.076e-06/1.082, allocations: 0 / 1.233 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.006156/1.088, allocations: 2.552 MB / 1.236 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/1.089, allocations: 197.2 kB / 1.236 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.09, allocations: 0.8345 MB / 1.237 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.09, allocations: 57.7 kB / 1.237 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/1.09, allocations: 0.6407 MB / 1.238 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003804/1.091, allocations: 484.9 kB / 1.238 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/1.091, allocations: 254.8 kB / 1.238 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.091, allocations: 353.9 kB / 1.239 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/1.092, allocations: 498.3 kB / 1.239 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.093, allocations: 0.6385 MB / 1.24 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/1.096, allocations: 1.118 MB / 1.241 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.096, allocations: 0 / 1.241 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003658/1.099, allocations: 1.561 MB / 1.242 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.099, allocations: 6.656 kB / 1.242 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.099, allocations: 0 / 1.242 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/1.1, allocations: 196.1 kB / 1.243 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.102, allocations: 335.6 kB / 1.243 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/1.108, allocations: 7.284 MB / 1.25 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.11, allocations: 154.9 kB / 1.25 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/1.11, allocations: 63.89 kB / 1.25 GB, free: 10.2 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 (156): * Single equations (assignments): 151 * 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.0008619/1.111, allocations: 375.5 kB / 1.251 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/1.111, allocations: 130.5 kB / 1.251 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/1.115, allocations: 1.835 MB / 1.252 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/1.115, allocations: 19.94 kB / 1.252 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.115, allocations: 3.984 kB / 1.252 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/1.115, allocations: 3.984 kB / 1.252 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/1.122, allocations: 3.44 MB / 1.256 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.122, allocations: 0 / 1.256 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.124, allocations: 315.6 kB / 1.256 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007682/1.124, allocations: 180.1 kB / 1.256 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.124, allocations: 43.91 kB / 1.256 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006126/1.131, allocations: 7.322 MB / 1.264 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.131, allocations: 4.031 kB / 1.264 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/1.135, allocations: 1.701 MB / 1.265 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/1.136, allocations: 399 kB / 1.266 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/1.136, allocations: 35.92 kB / 1.266 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.137, allocations: 101.4 kB / 1.266 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.138, allocations: 113.1 kB / 1.266 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.138, allocations: 71.94 kB / 1.266 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009423/1.139, allocations: 0.5823 MB / 1.266 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.139, allocations: 0 / 1.266 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001793/1.141, allocations: 0.6 MB / 1.267 GB, free: 8.051 MB / 0.9669 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.001874/1.143, allocations: 0.7277 MB / 1.268 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003419/1.146, allocations: 1.875 MB / 1.27 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.146, allocations: 0.5625 kB / 1.27 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/1.148, allocations: 1.301 MB / 1.271 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.15, allocations: 0.5371 MB / 1.271 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/1.156, allocations: 2.761 MB / 1.274 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.157, allocations: 1.3 MB / 1.275 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001679/1.159, allocations: 438.3 kB / 1.276 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/1.159, allocations: 155.3 kB / 1.276 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/1.159, allocations: 0 / 1.276 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.04674/1.206, allocations: 27.7 MB / 1.303 GB, free: 3.637 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches