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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001531/0.001532, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.001733/0.001734, allocations: 191.9 kB / 16.91 MB, free: 6.188 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 69 kB / 0.8694 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7312/1.022, allocations: 166 MB / 1.18 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02399/1.046, allocations: 16.86 MB / 1.196 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/1.049, allocations: 28.09 kB / 1.196 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/1.051, allocations: 477.8 kB / 1.197 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/1.056, allocations: 1.469 MB / 1.198 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/1.06, allocations: 1.21 MB / 1.199 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004026/1.064, allocations: 2.705 MB / 1.202 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/1.068, allocations: 1.883 MB / 1.204 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006016/1.074, allocations: 1.339 MB / 1.205 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/1.076, allocations: 1.013 MB / 1.206 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0007572/1.076, allocations: 206.1 kB / 1.206 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/1.08, allocations: 1.438 MB / 1.208 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008357/1.081, allocations: 0.551 MB / 1.208 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002214/1.083, allocations: 1.037 MB / 1.209 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004378/1.087, allocations: 2.326 MB / 1.211 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.087, allocations: 2.688 kB / 1.211 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.913e-06/1.087, allocations: 0 / 1.211 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001434/1.088, allocations: 0 / 1.211 GB, free: 1.934 MB / 0.9044 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.00605/1.094, allocations: 2.276 MB / 1.214 GB, free: 244 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.094, allocations: 10.06 kB / 1.214 GB, free: 244 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/1.098, allocations: 0.5128 MB / 1.214 GB, free: 0 / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/1.1, allocations: 1.079 MB / 1.215 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.1, allocations: 127.5 kB / 1.215 GB, free: 15.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/1.101, allocations: 164.7 kB / 1.215 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003623/1.104, allocations: 1.849 MB / 1.217 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/1.104, allocations: 0 / 1.217 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/1.105, allocations: 76 kB / 1.217 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/1.105, allocations: 44 kB / 1.217 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.108, allocations: 1.875 MB / 1.219 GB, free: 11.35 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.009207/1.117, allocations: 5.553 MB / 1.225 GB, free: 5.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/1.121, allocations: 1.777 MB / 1.226 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/1.122, allocations: 0.6554 MB / 1.227 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009477/1.123, allocations: 0.7999 MB / 1.228 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/1.125, allocations: 0.8902 MB / 1.229 GB, free: 1.074 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.048e-06/1.125, allocations: 0 / 1.229 GB, free: 1.074 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006414/1.131, allocations: 2.56 MB / 1.231 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.131, allocations: 197.2 kB / 1.231 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.133, allocations: 0.8345 MB / 1.232 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002076/1.133, allocations: 57.7 kB / 1.232 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/1.133, allocations: 0.6407 MB / 1.233 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/1.134, allocations: 480.9 kB / 1.233 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/1.134, allocations: 254.8 kB / 1.233 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.134, allocations: 365.9 kB / 1.234 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.136, allocations: 490.3 kB / 1.234 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.137, allocations: 0.6424 MB / 1.235 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/1.139, allocations: 1.126 MB / 1.236 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.139, allocations: 0 / 1.236 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003718/1.143, allocations: 1.546 MB / 1.238 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/1.143, allocations: 8 kB / 1.238 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.143, allocations: 0 / 1.238 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009444/1.144, allocations: 192.2 kB / 1.238 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.145, allocations: 339.5 kB / 1.238 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/1.151, allocations: 7.3 MB / 1.245 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.153, allocations: 174.8 kB / 1.245 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/1.153, allocations: 55.97 kB / 1.245 GB, free: 14.86 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.0009793/1.154, allocations: 379.8 kB / 1.246 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004775/1.155, allocations: 130.5 kB / 1.246 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/1.159, allocations: 1.85 MB / 1.248 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/1.159, allocations: 16 kB / 1.248 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.159, allocations: 0 / 1.248 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/1.159, allocations: 11.97 kB / 1.248 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006782/1.166, allocations: 3.443 MB / 1.251 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/1.166, allocations: 3.984 kB / 1.251 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.168, allocations: 307.6 kB / 1.251 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000793/1.168, allocations: 184.1 kB / 1.252 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/1.169, allocations: 43.95 kB / 1.252 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00574/1.174, allocations: 7.326 MB / 1.259 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.174, allocations: 0 / 1.259 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/1.178, allocations: 1.707 MB / 1.26 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/1.179, allocations: 399 kB / 1.261 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.18, allocations: 27.94 kB / 1.261 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.181, allocations: 134.6 kB / 1.261 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/1.181, allocations: 121.1 kB / 1.261 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.182, allocations: 67.95 kB / 1.261 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009014/1.182, allocations: 0.5784 MB / 1.262 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.182, allocations: 0 / 1.262 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001839/1.184, allocations: 0.6039 MB / 1.262 GB, free: 12.67 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.001802/1.186, allocations: 0.7101 MB / 1.263 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005254/1.191, allocations: 2.312 MB / 1.265 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.191, allocations: 0.5625 kB / 1.265 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/1.193, allocations: 1.301 MB / 1.267 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/1.196, allocations: 0.5331 MB / 1.267 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/1.202, allocations: 3.605 MB / 1.271 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.203, allocations: 1.3 MB / 1.272 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/1.204, allocations: 179.3 kB / 1.272 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/1.204, allocations: 0 / 1.272 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of Templates: time 0.0629/1.267, allocations: 57.59 MB / 1.328 GB, free: 9.168 MB / 1.029 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 -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