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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007761/0.007762, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00202/0.00202, allocations: 190.5 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.254/2.254, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8639/0.8654, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2145/1.08, allocations: 167.1 MB / 1.251 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02852/1.109, allocations: 16.92 MB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/1.111, allocations: 27.81 kB / 1.267 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/1.113, allocations: 0.5275 MB / 1.268 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005332/1.118, allocations: 1.539 MB / 1.269 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00404/1.122, allocations: 1.32 MB / 1.27 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003734/1.126, allocations: 2.494 MB / 1.273 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/1.129, allocations: 1.947 MB / 1.275 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004661/1.134, allocations: 1.359 MB / 1.276 GB, free: 12.53 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/1.136, allocations: 0.9607 MB / 1.277 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007342/1.136, allocations: 204 kB / 1.277 GB, free: 11.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/1.14, allocations: 1.423 MB / 1.279 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008231/1.141, allocations: 0.553 MB / 1.279 GB, free: 9.387 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002117/1.143, allocations: 0.9912 MB / 1.28 GB, free: 8.391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007197/1.15, allocations: 3.049 MB / 1.283 GB, free: 5.332 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.15, allocations: 0 / 1.283 GB, free: 5.332 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.794e-06/1.15, allocations: 0 / 1.283 GB, free: 5.332 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001228/1.151, allocations: 0 / 1.283 GB, free: 5.332 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.006047/1.157, allocations: 2.252 MB / 1.285 GB, free: 3.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.157, allocations: 16.03 kB / 1.285 GB, free: 3 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005329/1.157, allocations: 253 kB / 1.286 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/1.161, allocations: 0.5127 MB / 1.286 GB, free: 2.227 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/1.163, allocations: 1.117 MB / 1.287 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.163, allocations: 135.3 kB / 1.287 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/1.164, allocations: 164 kB / 1.287 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/1.168, allocations: 1.84 MB / 1.289 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/1.168, allocations: 0 / 1.289 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/1.168, allocations: 79.98 kB / 1.289 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/1.168, allocations: 40 kB / 1.289 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00361/1.172, allocations: 1.871 MB / 1.291 GB, free: 12.89 MB / 1.029 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.008814/1.18, allocations: 5.129 MB / 1.296 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/1.184, allocations: 1.758 MB / 1.298 GB, free: 5.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/1.185, allocations: 0.652 MB / 1.299 GB, free: 5.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009231/1.186, allocations: 0.8078 MB / 1.299 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/1.188, allocations: 0.8918 MB / 1.3 GB, free: 3.133 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 4.618e-06/1.188, allocations: 0 / 1.3 GB, free: 3.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006419/1.194, allocations: 2.556 MB / 1.303 GB, free: 476 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/1.194, allocations: 201.2 kB / 1.303 GB, free: 232 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/1.196, allocations: 0.8387 MB / 1.304 GB, free: 15.36 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.196, allocations: 57.7 kB / 1.304 GB, free: 15.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/1.197, allocations: 0.6484 MB / 1.304 GB, free: 14.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/1.197, allocations: 477 kB / 1.305 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004967/1.198, allocations: 242.8 kB / 1.305 GB, free: 13.92 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.198, allocations: 353.9 kB / 1.305 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/1.199, allocations: 478.4 kB / 1.306 GB, free: 13.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.2, allocations: 0.634 MB / 1.307 GB, free: 12.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/1.203, allocations: 1.091 MB / 1.308 GB, free: 11.33 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.203, allocations: 4.094 kB / 1.308 GB, free: 11.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003709/1.206, allocations: 1.503 MB / 1.309 GB, free: 9.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.206, allocations: 8 kB / 1.309 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.206, allocations: 0 / 1.309 GB, free: 9.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/1.207, allocations: 188.2 kB / 1.309 GB, free: 9.594 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.209, allocations: 331.5 kB / 1.31 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/1.215, allocations: 7.271 MB / 1.317 GB, free: 1.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.217, allocations: 146.9 kB / 1.317 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.217, allocations: 47.97 kB / 1.317 GB, free: 1.098 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (148): * Single equations (assignments): 143 * 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.00106/1.218, allocations: 389.6 kB / 1.317 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/1.219, allocations: 130.4 kB / 1.317 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/1.223, allocations: 1.85 MB / 1.319 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.223, allocations: 16 kB / 1.319 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.223, allocations: 0 / 1.319 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.223, allocations: 11.91 kB / 1.319 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006913/1.23, allocations: 3.448 MB / 1.323 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.23, allocations: 3.984 kB / 1.323 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.232, allocations: 311.6 kB / 1.323 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007806/1.233, allocations: 180.1 kB / 1.323 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.233, allocations: 47.95 kB / 1.323 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/1.239, allocations: 7.314 MB / 1.33 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.239, allocations: 0 / 1.33 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/1.243, allocations: 1.717 MB / 1.332 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000854/1.244, allocations: 406.9 kB / 1.332 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/1.244, allocations: 36 kB / 1.332 GB, free: 380 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.245, allocations: 99.64 kB / 1.332 GB, free: 284 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00029/1.246, allocations: 113.3 kB / 1.333 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/1.246, allocations: 75.94 kB / 1.333 GB, free: 96 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001018/1.247, allocations: 0.5825 MB / 1.333 GB, free: 15.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.744e-06/1.247, allocations: 0 / 1.333 GB, free: 15.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001749/1.249, allocations: 0.5688 MB / 1.334 GB, free: 14.93 MB / 1.076 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.005686/1.254, allocations: 2.895 MB / 1.337 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003471/1.258, allocations: 1.828 MB / 1.338 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.258, allocations: 4.562 kB / 1.338 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.26, allocations: 1.309 MB / 1.34 GB, free: 8.918 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.262, allocations: 0.5033 MB / 1.34 GB, free: 8.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01984/1.282, allocations: 10.01 MB / 1.35 GB, free: 14.23 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.283, allocations: 1.301 MB / 1.351 GB, free: 12.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001664/1.285, allocations: 430.1 kB / 1.352 GB, free: 12.48 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009906/1.286, allocations: 0.6515 MB / 1.352 GB, free: 11.83 MB / 1.092 GB Notification: Performance of SimCode: time 1.303e-06/1.286, allocations: 0 / 1.352 GB, free: 11.83 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/1.37, allocations: 36.77 MB / 1.388 GB, free: 7.516 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.97, allocations: 5.953 kB / 1.388 GB, free: 7.512 MB / 1.123 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > 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/jenkins1/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