Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001556/0.001556, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.821, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1787/0.9998, allocations: 168.4 MB / 1.373 GB, free: 4.555 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02243/1.022, allocations: 17.33 MB / 1.39 GB, free: 3.172 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/1.024, allocations: 31.81 kB / 1.39 GB, free: 3.141 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/1.026, allocations: 0.5895 MB / 1.39 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005694/1.032, allocations: 1.81 MB / 1.392 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/1.035, allocations: 1.448 MB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003946/1.039, allocations: 2.874 MB / 1.396 GB, free: 12.42 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/1.042, allocations: 1.944 MB / 1.398 GB, free: 10.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004041/1.046, allocations: 1.474 MB / 1.4 GB, free: 8.984 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/1.048, allocations: 1.109 MB / 1.401 GB, free: 7.871 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000418/1.048, allocations: 220 kB / 1.401 GB, free: 7.656 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/1.052, allocations: 1.552 MB / 1.403 GB, free: 6.102 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007674/1.052, allocations: 0.7946 MB / 1.403 GB, free: 5.305 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/1.054, allocations: 1.224 MB / 1.404 GB, free: 4.074 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004717/1.058, allocations: 3.582 MB / 1.408 GB, free: 492 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.058, allocations: 0 / 1.408 GB, free: 492 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.944e-06/1.058, allocations: 0 / 1.408 GB, free: 492 kB / 1.123 GB Notification: Performance of Transformations before backend: time 4.626e-05/1.058, allocations: 0 / 1.408 GB, free: 492 kB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004533/1.063, allocations: 2.756 MB / 1.411 GB, free: 13.66 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.063, allocations: 12.03 kB / 1.411 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003659/1.067, allocations: 0.5473 MB / 1.411 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/1.069, allocations: 1.631 MB / 1.413 GB, free: 11.41 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/1.07, allocations: 131.4 kB / 1.413 GB, free: 11.28 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/1.07, allocations: 168 kB / 1.413 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/1.073, allocations: 1.944 MB / 1.415 GB, free: 9.121 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/1.073, allocations: 7.922 kB / 1.415 GB, free: 9.113 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/1.073, allocations: 76 kB / 1.415 GB, free: 9.039 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/1.073, allocations: 40 kB / 1.415 GB, free: 9 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/1.077, allocations: 2.089 MB / 1.417 GB, free: 6.906 MB / 1.139 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.009116/1.086, allocations: 6.012 MB / 1.423 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/1.089, allocations: 2.087 MB / 1.425 GB, free: 14.38 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.091, allocations: 0.7729 MB / 1.426 GB, free: 13.61 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/1.091, allocations: 433.5 kB / 1.426 GB, free: 13.11 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/1.093, allocations: 1.005 MB / 1.427 GB, free: 12.09 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 5.219e-06/1.093, allocations: 7.922 kB / 1.427 GB, free: 12.08 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006882/1.1, allocations: 2.954 MB / 1.43 GB, free: 9.012 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.1, allocations: 193.2 kB / 1.43 GB, free: 8.781 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/1.103, allocations: 1.787 MB / 1.432 GB, free: 6.98 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/1.103, allocations: 65.69 kB / 1.432 GB, free: 6.91 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/1.104, allocations: 0.8194 MB / 1.433 GB, free: 6.078 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/1.105, allocations: 489 kB / 1.433 GB, free: 5.594 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/1.105, allocations: 262.7 kB / 1.434 GB, free: 5.328 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.105, allocations: 353.9 kB / 1.434 GB, free: 4.977 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/1.106, allocations: 0.5921 MB / 1.435 GB, free: 4.387 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.108, allocations: 0.8037 MB / 1.435 GB, free: 3.531 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/1.11, allocations: 1.329 MB / 1.437 GB, free: 2.191 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.11, allocations: 0 / 1.437 GB, free: 2.191 MB / 1.154 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004082/1.114, allocations: 1.811 MB / 1.438 GB, free: 364 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.114, allocations: 11.88 kB / 1.438 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.114, allocations: 0 / 1.438 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/1.115, allocations: 220.2 kB / 1.439 GB, free: 116 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.117, allocations: 327.6 kB / 1.439 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005923/1.123, allocations: 7.314 MB / 1.446 GB, free: 7.773 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.125, allocations: 162.7 kB / 1.446 GB, free: 7.613 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002762/1.125, allocations: 64.02 kB / 1.446 GB, free: 7.551 MB / 1.17 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 (152): * Single equations (assignments): 147 * 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.001259/1.126, allocations: 479.2 kB / 1.447 GB, free: 7.074 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005966/1.127, allocations: 177.8 kB / 1.447 GB, free: 6.898 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/1.132, allocations: 2.125 MB / 1.449 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.132, allocations: 16 kB / 1.449 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.132, allocations: 4 kB / 1.449 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/1.132, allocations: 7.969 kB / 1.449 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007798/1.14, allocations: 3.98 MB / 1.453 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.14, allocations: 0 / 1.453 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.141, allocations: 327.5 kB / 1.453 GB, free: 348 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009117/1.142, allocations: 200.1 kB / 1.453 GB, free: 132 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.142, allocations: 43.95 kB / 1.453 GB, free: 88 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/1.148, allocations: 7.344 MB / 1.461 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.148, allocations: 7.969 kB / 1.461 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/1.153, allocations: 1.985 MB / 1.463 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.154, allocations: 466.4 kB / 1.463 GB, free: 5.52 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/1.154, allocations: 39.92 kB / 1.463 GB, free: 5.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.156, allocations: 91.91 kB / 1.463 GB, free: 5.391 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/1.156, allocations: 117.1 kB / 1.463 GB, free: 5.273 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.156, allocations: 75.94 kB / 1.463 GB, free: 5.199 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001988/1.158, allocations: 1.281 MB / 1.465 GB, free: 3.922 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.158, allocations: 0 / 1.465 GB, free: 3.922 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002058/1.16, allocations: 0.6781 MB / 1.465 GB, free: 3.242 MB / 1.186 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.001905/1.162, allocations: 0.7568 MB / 1.466 GB, free: 2.672 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003586/1.166, allocations: 2.094 MB / 1.468 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.166, allocations: 0.5625 kB / 1.468 GB, free: 0.5117 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/1.168, allocations: 1.411 MB / 1.469 GB, free: 15.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.171, allocations: 0.5492 MB / 1.47 GB, free: 14.51 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/1.179, allocations: 3.635 MB / 1.473 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.18, allocations: 1.478 MB / 1.475 GB, free: 9.328 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/1.181, allocations: 199.3 kB / 1.475 GB, free: 9.133 MB / 1.201 GB Notification: Performance of SimCode: time 6.62e-07/1.181, allocations: 0 / 1.475 GB, free: 9.133 MB / 1.201 GB Notification: Performance of Templates: time 0.07677/1.258, allocations: 67.13 MB / 1.541 GB, free: 6.055 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches