Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001557/0.001557, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001604/0.001604, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 72.38 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6958/1.015, allocations: 166 MB / 1.226 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02478/1.04, allocations: 16.87 MB / 1.243 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/1.042, allocations: 27.81 kB / 1.243 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/1.044, allocations: 469.1 kB / 1.243 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005443/1.05, allocations: 1.475 MB / 1.245 GB, free: 384 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/1.053, allocations: 1.199 MB / 1.246 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00405/1.057, allocations: 2.688 MB / 1.248 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/1.06, allocations: 1.887 MB / 1.25 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/1.066, allocations: 1.343 MB / 1.252 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/1.068, allocations: 1.011 MB / 1.253 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006183/1.069, allocations: 208 kB / 1.253 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/1.072, allocations: 1.427 MB / 1.254 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008483/1.073, allocations: 0.5569 MB / 1.255 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001889/1.075, allocations: 1.038 MB / 1.256 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/1.079, allocations: 2.323 MB / 1.258 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.079, allocations: 0 / 1.258 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/1.079, allocations: 4 kB / 1.258 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.514e-05/1.079, allocations: 0 / 1.258 GB, free: 2.68 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004557/1.083, allocations: 2.284 MB / 1.26 GB, free: 340 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.083, allocations: 12.62 kB / 1.26 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/1.087, allocations: 0.5089 MB / 1.261 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/1.089, allocations: 1.078 MB / 1.262 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/1.089, allocations: 123.4 kB / 1.262 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/1.09, allocations: 168 kB / 1.262 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/1.093, allocations: 1.844 MB / 1.264 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.093, allocations: 0 / 1.264 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/1.093, allocations: 76 kB / 1.264 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/1.093, allocations: 40 kB / 1.264 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/1.097, allocations: 1.875 MB / 1.266 GB, free: 10.52 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.009007/1.106, allocations: 5.558 MB / 1.271 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/1.109, allocations: 1.782 MB / 1.273 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/1.11, allocations: 0.6476 MB / 1.274 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009745/1.111, allocations: 0.8116 MB / 1.274 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/1.113, allocations: 0.8918 MB / 1.275 GB, free: 228 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.456e-06/1.113, allocations: 0 / 1.275 GB, free: 228 kB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006432/1.12, allocations: 2.552 MB / 1.278 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.12, allocations: 197.2 kB / 1.278 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/1.121, allocations: 0.8383 MB / 1.279 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/1.121, allocations: 57.7 kB / 1.279 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/1.122, allocations: 0.6446 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004766/1.122, allocations: 485 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/1.123, allocations: 258.7 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.123, allocations: 357.9 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.124, allocations: 498.3 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.125, allocations: 0.6307 MB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/1.128, allocations: 1.122 MB / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.128, allocations: 0 / 1.283 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003723/1.131, allocations: 1.558 MB / 1.284 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.131, allocations: 4 kB / 1.284 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.131, allocations: 0 / 1.284 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/1.132, allocations: 196.2 kB / 1.284 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.134, allocations: 335.5 kB / 1.285 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006717/1.141, allocations: 7.302 MB / 1.292 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.142, allocations: 178.8 kB / 1.292 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.142, allocations: 55.95 kB / 1.292 GB, free: 14.01 MB / 1.014 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.0008587/1.143, allocations: 379.3 kB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.144, allocations: 130.4 kB / 1.293 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/1.148, allocations: 1.839 MB / 1.294 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.148, allocations: 20 kB / 1.294 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.148, allocations: 4 kB / 1.294 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/1.148, allocations: 7.969 kB / 1.294 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/1.155, allocations: 3.439 MB / 1.298 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.155, allocations: 0 / 1.298 GB, free: 8.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.156, allocations: 327.6 kB / 1.298 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007924/1.157, allocations: 176.1 kB / 1.298 GB, free: 7.582 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/1.157, allocations: 43.91 kB / 1.298 GB, free: 7.539 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006745/1.164, allocations: 7.326 MB / 1.305 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.164, allocations: 0 / 1.305 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/1.168, allocations: 1.707 MB / 1.307 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008589/1.169, allocations: 399 kB / 1.307 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.169, allocations: 35.94 kB / 1.307 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/1.17, allocations: 128.2 kB / 1.308 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/1.171, allocations: 117.1 kB / 1.308 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.171, allocations: 71.94 kB / 1.308 GB, free: 13.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009318/1.172, allocations: 0.5784 MB / 1.308 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.172, allocations: 0 / 1.308 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002015/1.174, allocations: 0.6116 MB / 1.309 GB, free: 11.81 MB / 1.029 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.002446/1.176, allocations: 0.7114 MB / 1.31 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005388/1.182, allocations: 2.301 MB / 1.312 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.182, allocations: 8.5 kB / 1.312 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002159/1.184, allocations: 1.305 MB / 1.313 GB, free: 7.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/1.186, allocations: 0.5148 MB / 1.314 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006172/1.193, allocations: 3.627 MB / 1.317 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/1.194, allocations: 1.292 MB / 1.318 GB, free: 2.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/1.194, allocations: 175.3 kB / 1.319 GB, free: 1.891 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/1.194, allocations: 0 / 1.319 GB, free: 1.891 MB / 1.029 GB Notification: Performance of Templates: time 0.07118/1.266, allocations: 57.59 MB / 1.375 GB, free: 8.309 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches