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.001455/0.001455, allocations: 105.2 kB / 16.41 MB, free: 6.461 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.001772/0.001772, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8562, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2213/1.078, allocations: 167.1 MB / 1.252 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02634/1.104, allocations: 16.91 MB / 1.268 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002271/1.106, allocations: 31.81 kB / 1.268 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/1.108, allocations: 0.5275 MB / 1.269 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/1.114, allocations: 1.547 MB / 1.27 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00397/1.118, allocations: 1.315 MB / 1.272 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004013/1.122, allocations: 2.502 MB / 1.274 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/1.126, allocations: 1.936 MB / 1.276 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/1.13, allocations: 1.359 MB / 1.277 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/1.132, allocations: 0.9529 MB / 1.278 GB, free: 11.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007163/1.133, allocations: 208 kB / 1.278 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/1.137, allocations: 1.431 MB / 1.28 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009565/1.138, allocations: 0.5491 MB / 1.28 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001845/1.139, allocations: 1.003 MB / 1.281 GB, free: 8.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005849/1.145, allocations: 3.041 MB / 1.284 GB, free: 5.426 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.145, allocations: 0 / 1.284 GB, free: 5.426 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.994e-06/1.145, allocations: 0 / 1.284 GB, free: 5.426 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001042/1.146, allocations: 4 kB / 1.284 GB, free: 5.422 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.005593/1.151, allocations: 2.244 MB / 1.286 GB, free: 3.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.151, allocations: 12.03 kB / 1.286 GB, free: 3.102 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003922/1.155, allocations: 0.5011 MB / 1.287 GB, free: 2.598 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/1.157, allocations: 1.129 MB / 1.288 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.158, allocations: 123.4 kB / 1.288 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/1.158, allocations: 168 kB / 1.288 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/1.161, allocations: 1.84 MB / 1.29 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/1.162, allocations: 3.938 kB / 1.29 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/1.162, allocations: 76 kB / 1.29 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/1.162, allocations: 43.98 kB / 1.29 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/1.165, allocations: 1.875 MB / 1.292 GB, free: 13.25 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.008493/1.174, allocations: 5.132 MB / 1.297 GB, free: 7.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003153/1.177, allocations: 1.763 MB / 1.299 GB, free: 6.023 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.178, allocations: 0.6441 MB / 1.299 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009423/1.179, allocations: 0.8116 MB / 1.3 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/1.181, allocations: 0.888 MB / 1.301 GB, free: 3.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/1.181, allocations: 0 / 1.301 GB, free: 3.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.006288/1.187, allocations: 2.56 MB / 1.304 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.187, allocations: 205.1 kB / 1.304 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/1.189, allocations: 0.8345 MB / 1.305 GB, free: 15.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.189, allocations: 57.7 kB / 1.305 GB, free: 15.65 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/1.189, allocations: 0.6368 MB / 1.305 GB, free: 15 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/1.19, allocations: 488.9 kB / 1.306 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/1.19, allocations: 254.8 kB / 1.306 GB, free: 14.26 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.19, allocations: 357.9 kB / 1.306 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.191, allocations: 498.3 kB / 1.307 GB, free: 13.42 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/1.193, allocations: 0.6385 MB / 1.307 GB, free: 12.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/1.195, allocations: 1.118 MB / 1.309 GB, free: 11.63 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.195, allocations: 4 kB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003555/1.198, allocations: 1.546 MB / 1.31 GB, free: 10.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.198, allocations: 4 kB / 1.31 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.198, allocations: 7.984 kB / 1.31 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/1.199, allocations: 188.2 kB / 1.31 GB, free: 9.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.201, allocations: 339.5 kB / 1.311 GB, free: 9.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/1.207, allocations: 7.275 MB / 1.318 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.209, allocations: 146.7 kB / 1.318 GB, free: 1.383 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.209, allocations: 55.97 kB / 1.318 GB, free: 1.328 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: 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.0008296/1.21, allocations: 384.3 kB / 1.318 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/1.21, allocations: 126.5 kB / 1.318 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/1.214, allocations: 1.85 MB / 1.32 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.214, allocations: 16 kB / 1.32 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.214, allocations: 0 / 1.32 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.214, allocations: 11.97 kB / 1.32 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/1.22, allocations: 3.447 MB / 1.324 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.22, allocations: 0 / 1.324 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.222, allocations: 315.5 kB / 1.324 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007494/1.223, allocations: 188.1 kB / 1.324 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/1.223, allocations: 43.95 kB / 1.324 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/1.229, allocations: 7.307 MB / 1.331 GB, free: 2.824 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.229, allocations: 3.984 kB / 1.331 GB, free: 2.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004006/1.233, allocations: 1.717 MB / 1.333 GB, free: 1.066 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/1.233, allocations: 399 kB / 1.333 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.234, allocations: 32 kB / 1.333 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.235, allocations: 106.5 kB / 1.333 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.235, allocations: 109.2 kB / 1.334 GB, free: 428 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.235, allocations: 75.94 kB / 1.334 GB, free: 352 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008325/1.236, allocations: 0.5784 MB / 1.334 GB, free: 15.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.236, allocations: 3.938 kB / 1.334 GB, free: 15.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001595/1.238, allocations: 0.5688 MB / 1.335 GB, free: 15.18 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.001793/1.24, allocations: 0.7258 MB / 1.335 GB, free: 14.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003491/1.243, allocations: 1.875 MB / 1.337 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.243, allocations: 0.5625 kB / 1.337 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/1.245, allocations: 1.309 MB / 1.339 GB, free: 11.33 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.248, allocations: 0.4985 MB / 1.339 GB, free: 10.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/1.254, allocations: 2.945 MB / 1.342 GB, free: 7.871 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/1.255, allocations: 1.292 MB / 1.343 GB, free: 6.547 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/1.256, allocations: 175.3 kB / 1.343 GB, free: 6.375 MB / 1.076 GB Notification: Performance of SimCode: time 7.81e-07/1.256, allocations: 0 / 1.343 GB, free: 6.375 MB / 1.076 GB Notification: Performance of Templates: time 0.06494/1.32, allocations: 57.38 MB / 1.399 GB, free: 12.98 MB / 1.139 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/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