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.006333/0.006333, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001441/0.001441, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.43/2.43, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 70.81 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1883/0.4745, allocations: 167.1 MB / 1.251 GB, free: 9.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.6592/1.134, allocations: 16.89 MB / 1.268 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/1.136, allocations: 31.06 kB / 1.268 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/1.138, allocations: 0.5058 MB / 1.268 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005467/1.143, allocations: 1.514 MB / 1.27 GB, free: 3.586 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/1.147, allocations: 1.314 MB / 1.271 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004765/1.152, allocations: 2.493 MB / 1.273 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00348/1.156, allocations: 1.944 MB / 1.275 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/1.161, allocations: 1.329 MB / 1.276 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/1.163, allocations: 0.9559 MB / 1.277 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006626/1.164, allocations: 206.7 kB / 1.278 GB, free: 3.305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/1.168, allocations: 1.421 MB / 1.279 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006128/1.169, allocations: 0.5574 MB / 1.28 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/1.17, allocations: 0.9991 MB / 1.281 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006203/1.176, allocations: 3.04 MB / 1.283 GB, free: 2.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.176, allocations: 4.719 kB / 1.283 GB, free: 2.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.176, allocations: 0.7812 kB / 1.283 GB, free: 2.867 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.332e-05/1.176, allocations: 0 / 1.283 GB, free: 2.867 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.005091/1.181, allocations: 2.253 MB / 1.286 GB, free: 1.793 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.182, allocations: 11.06 kB / 1.286 GB, free: 1.793 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/1.185, allocations: 0.5045 MB / 1.286 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/1.188, allocations: 1.12 MB / 1.287 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.188, allocations: 129 kB / 1.287 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/1.188, allocations: 167.6 kB / 1.288 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/1.192, allocations: 1.841 MB / 1.289 GB, free: 1.137 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/1.192, allocations: 3.938 kB / 1.289 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/1.192, allocations: 75.22 kB / 1.289 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/1.192, allocations: 41.56 kB / 1.289 GB, free: 1.133 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003522/1.195, allocations: 1.878 MB / 1.291 GB, free: 1.117 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.008582/1.204, allocations: 5.138 MB / 1.296 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/1.207, allocations: 1.76 MB / 1.298 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/1.208, allocations: 0.6517 MB / 1.299 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.209, allocations: 0.807 MB / 1.299 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001661/1.211, allocations: 0.8923 MB / 1.3 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.316e-06/1.211, allocations: 0 / 1.3 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.00644/1.217, allocations: 2.551 MB / 1.303 GB, free: 13.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.218, allocations: 199.4 kB / 1.303 GB, free: 13.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.219, allocations: 0.8383 MB / 1.304 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/1.219, allocations: 60.23 kB / 1.304 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000526/1.22, allocations: 0.6389 MB / 1.305 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004344/1.22, allocations: 482.9 kB / 1.305 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004275/1.22, allocations: 262 kB / 1.305 GB, free: 12.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.221, allocations: 355.8 kB / 1.306 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/1.222, allocations: 498.4 kB / 1.306 GB, free: 11.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.223, allocations: 0.6345 MB / 1.307 GB, free: 11.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/1.225, allocations: 1.122 MB / 1.308 GB, free: 11.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/1.225, allocations: 1.969 kB / 1.308 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003771/1.229, allocations: 1.549 MB / 1.309 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.229, allocations: 5.062 kB / 1.309 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.229, allocations: 1.156 kB / 1.309 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/1.23, allocations: 192.8 kB / 1.309 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/1.231, allocations: 335.5 kB / 1.31 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.237, allocations: 7.286 MB / 1.317 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/1.239, allocations: 147.4 kB / 1.317 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.239, allocations: 58.36 kB / 1.317 GB, free: 4.738 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.0008594/1.24, allocations: 380.9 kB / 1.317 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/1.24, allocations: 130.2 kB / 1.318 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/1.244, allocations: 1.847 MB / 1.319 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.244, allocations: 18.91 kB / 1.319 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.244, allocations: 1.375 kB / 1.319 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.244, allocations: 8.016 kB / 1.319 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/1.25, allocations: 3.441 MB / 1.323 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.25, allocations: 0.875 kB / 1.323 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.251, allocations: 315.9 kB / 1.323 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007141/1.252, allocations: 178.5 kB / 1.323 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-05/1.252, allocations: 44.61 kB / 1.323 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005515/1.258, allocations: 7.315 MB / 1.33 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.258, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/1.261, allocations: 1.719 MB / 1.332 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007922/1.262, allocations: 396.2 kB / 1.332 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/1.262, allocations: 26.88 kB / 1.333 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/1.264, allocations: 112.1 kB / 1.333 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/1.264, allocations: 113.8 kB / 1.333 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.264, allocations: 72.38 kB / 1.333 GB, free: 12.45 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000738/1.265, allocations: 0.5751 MB / 1.333 GB, free: 12.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.265, allocations: 0.9062 kB / 1.333 GB, free: 12.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0016/1.266, allocations: 0.5778 MB / 1.334 GB, free: 12.04 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.001623/1.268, allocations: 0.7266 MB / 1.335 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003064/1.271, allocations: 1.876 MB / 1.336 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.271, allocations: 4 kB / 1.336 GB, free: 10.79 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/1.273, allocations: 1.303 MB / 1.338 GB, free: 10.01 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.275, allocations: 0.5013 MB / 1.338 GB, free: 9.84 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/1.281, allocations: 2.876 MB / 1.341 GB, free: 8.48 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007905/1.281, allocations: 1.298 MB / 1.342 GB, free: 7.719 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001601/1.283, allocations: 443.1 kB / 1.343 GB, free: 7.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/1.283, allocations: 155.3 kB / 1.343 GB, free: 7.547 MB / 1.045 GB Notification: Performance of SimCode: time 6.21e-07/1.283, allocations: 0 / 1.343 GB, free: 7.547 MB / 1.045 GB Notification: Performance of Templates: time 0.04513/1.329, allocations: 27.58 MB / 1.37 GB, free: 13.37 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