Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.009393/0.009393, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.001997/0.001997, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 66.89 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2594, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1789/0.4383, allocations: 167.1 MB / 1.251 GB, free: 9.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6479/1.086, allocations: 16.89 MB / 1.268 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/1.088, allocations: 31.27 kB / 1.268 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/1.09, allocations: 0.5319 MB / 1.268 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/1.095, allocations: 1.543 MB / 1.27 GB, free: 3.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/1.099, allocations: 1.316 MB / 1.271 GB, free: 3.555 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004875/1.104, allocations: 2.493 MB / 1.273 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003577/1.108, allocations: 1.94 MB / 1.275 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00495/1.113, allocations: 1.359 MB / 1.277 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/1.115, allocations: 0.9527 MB / 1.277 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001236/1.117, allocations: 210.6 kB / 1.278 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/1.121, allocations: 1.424 MB / 1.279 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/1.122, allocations: 0.5528 MB / 1.28 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002751/1.125, allocations: 1.002 MB / 1.281 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007353/1.133, allocations: 3.059 MB / 1.284 GB, free: 2.848 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.133, allocations: 0 / 1.284 GB, free: 2.848 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/1.133, allocations: 1.969 kB / 1.284 GB, free: 2.848 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001378/1.133, allocations: 0 / 1.284 GB, free: 2.848 MB / 1.014 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.0069/1.14, allocations: 2.307 MB / 1.286 GB, free: 1.715 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.14, allocations: 9.469 kB / 1.286 GB, free: 1.715 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/1.144, allocations: 0.5162 MB / 1.286 GB, free: 1.602 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/1.147, allocations: 1.13 MB / 1.287 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/1.147, allocations: 129.2 kB / 1.288 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000654/1.148, allocations: 168.2 kB / 1.288 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006337/1.155, allocations: 1.842 MB / 1.29 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/1.155, allocations: 6 kB / 1.29 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/1.155, allocations: 74.77 kB / 1.29 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/1.155, allocations: 44.38 kB / 1.29 GB, free: 1.035 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/1.16, allocations: 1.878 MB / 1.291 GB, free: 1.02 MB / 1.014 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.01219/1.172, allocations: 5.143 MB / 1.297 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004124/1.176, allocations: 1.758 MB / 1.298 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/1.178, allocations: 0.6475 MB / 1.299 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/1.179, allocations: 0.8109 MB / 1.3 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/1.181, allocations: 0.8933 MB / 1.301 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 5.16e-06/1.181, allocations: 0 / 1.301 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006735/1.188, allocations: 2.554 MB / 1.303 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.188, allocations: 203.7 kB / 1.303 GB, free: 12.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.189, allocations: 0.834 MB / 1.304 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002218/1.189, allocations: 59 kB / 1.304 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/1.19, allocations: 0.6543 MB / 1.305 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000483/1.19, allocations: 0.4963 MB / 1.305 GB, free: 12.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/1.191, allocations: 254.8 kB / 1.305 GB, free: 12.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.191, allocations: 360 kB / 1.306 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/1.192, allocations: 498.4 kB / 1.306 GB, free: 11.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/1.193, allocations: 0.6421 MB / 1.307 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/1.196, allocations: 1.116 MB / 1.308 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.196, allocations: 0 / 1.308 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004037/1.2, allocations: 1.557 MB / 1.31 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.2, allocations: 10.28 kB / 1.31 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.2, allocations: 1.344 kB / 1.31 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009923/1.201, allocations: 195.8 kB / 1.31 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.203, allocations: 336.2 kB / 1.31 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/1.209, allocations: 7.28 MB / 1.317 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/1.211, allocations: 158.3 kB / 1.317 GB, free: 4.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/1.211, allocations: 59.56 kB / 1.317 GB, free: 4.578 MB / 1.029 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.001255/1.212, allocations: 378.5 kB / 1.318 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/1.213, allocations: 136.2 kB / 1.318 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/1.218, allocations: 1.853 MB / 1.32 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.218, allocations: 15.5 kB / 1.32 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.218, allocations: 5.688 kB / 1.32 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/1.218, allocations: 6.516 kB / 1.32 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007694/1.226, allocations: 3.441 MB / 1.323 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/1.226, allocations: 3.938 kB / 1.323 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.227, allocations: 319.5 kB / 1.323 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/1.228, allocations: 178.3 kB / 1.324 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.228, allocations: 42.98 kB / 1.324 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/1.235, allocations: 7.312 MB / 1.331 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.235, allocations: 9.438 kB / 1.331 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/1.239, allocations: 1.718 MB / 1.332 GB, free: 12.58 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.24, allocations: 402.7 kB / 1.333 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/1.241, allocations: 37.83 kB / 1.333 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.242, allocations: 100.2 kB / 1.333 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/1.243, allocations: 116.8 kB / 1.333 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/1.243, allocations: 76.52 kB / 1.333 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001136/1.244, allocations: 0.5749 MB / 1.334 GB, free: 11.97 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.81e-07/1.244, allocations: 0.9375 kB / 1.334 GB, free: 11.97 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00243/1.246, allocations: 0.5807 MB / 1.334 GB, free: 11.81 MB / 1.045 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.002124/1.249, allocations: 0.7331 MB / 1.335 GB, free: 11.53 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003582/1.252, allocations: 1.872 MB / 1.337 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.252, allocations: 4.125 kB / 1.337 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/1.254, allocations: 1.308 MB / 1.338 GB, free: 9.77 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.257, allocations: 0.4972 MB / 1.339 GB, free: 9.602 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/1.263, allocations: 2.941 MB / 1.341 GB, free: 8.176 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.264, allocations: 1.296 MB / 1.343 GB, free: 7.414 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00199/1.266, allocations: 437.6 kB / 1.343 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/1.267, allocations: 151.5 kB / 1.343 GB, free: 7.254 MB / 1.045 GB Notification: Performance of SimCode: time 1.382e-06/1.267, allocations: 4 kB / 1.343 GB, free: 7.25 MB / 1.045 GB Notification: Performance of Templates: time 0.045/1.312, allocations: 27.13 MB / 1.37 GB, free: 13.45 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches