Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_CpData,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_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_9_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.001352/0.001352, allocations: 104.3 kB / 16.41 MB, free: 6.512 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.001332/0.001332, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.358/1.358, 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.284/2.284, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001532, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8604, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2076/1.068, allocations: 167.2 MB / 1.252 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0244/1.092, allocations: 17.2 MB / 1.269 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/1.095, allocations: 31.81 kB / 1.269 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/1.098, allocations: 0.5274 MB / 1.269 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/1.105, allocations: 1.674 MB / 1.271 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004467/1.109, allocations: 1.427 MB / 1.272 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.114, allocations: 2.665 MB / 1.275 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/1.117, allocations: 2.006 MB / 1.277 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004497/1.122, allocations: 1.403 MB / 1.278 GB, free: 11.54 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/1.124, allocations: 1.085 MB / 1.279 GB, free: 10.45 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008355/1.124, allocations: 220 kB / 1.279 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/1.128, allocations: 1.548 MB / 1.281 GB, free: 8.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/1.13, allocations: 0.7946 MB / 1.282 GB, free: 7.891 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002188/1.132, allocations: 1.174 MB / 1.283 GB, free: 6.711 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006821/1.139, allocations: 3.524 MB / 1.286 GB, free: 3.176 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.139, allocations: 0 / 1.286 GB, free: 3.176 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/1.139, allocations: 0 / 1.286 GB, free: 3.176 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001347/1.139, allocations: 0 / 1.286 GB, free: 3.176 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007026/1.146, allocations: 2.717 MB / 1.289 GB, free: 400 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/1.146, allocations: 15.97 kB / 1.289 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/1.15, allocations: 0.5552 MB / 1.29 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/1.154, allocations: 1.623 MB / 1.291 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/1.154, allocations: 135.4 kB / 1.291 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/1.154, allocations: 172 kB / 1.291 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/1.158, allocations: 1.941 MB / 1.293 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/1.158, allocations: 0 / 1.293 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/1.159, allocations: 76 kB / 1.293 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/1.159, allocations: 44 kB / 1.293 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/1.163, allocations: 2.085 MB / 1.295 GB, free: 9.641 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.01011/1.173, allocations: 5.653 MB / 1.301 GB, free: 3.727 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/1.176, allocations: 2.087 MB / 1.303 GB, free: 1.559 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.177, allocations: 0.7613 MB / 1.304 GB, free: 0.793 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/1.178, allocations: 437.6 kB / 1.304 GB, free: 300 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/1.179, allocations: 1.02 MB / 1.305 GB, free: 15.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=146): time 3.767e-06/1.179, allocations: 0 / 1.305 GB, free: 15.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.006557/1.186, allocations: 2.946 MB / 1.308 GB, free: 12.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.186, allocations: 201.2 kB / 1.308 GB, free: 11.95 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/1.189, allocations: 1.78 MB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/1.189, allocations: 57.7 kB / 1.31 GB, free: 10.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008137/1.19, allocations: 0.8349 MB / 1.311 GB, free: 9.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/1.19, allocations: 481 kB / 1.311 GB, free: 8.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004516/1.191, allocations: 254.8 kB / 1.312 GB, free: 8.516 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.191, allocations: 357.9 kB / 1.312 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.192, allocations: 0.5921 MB / 1.312 GB, free: 7.57 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/1.193, allocations: 0.8035 MB / 1.313 GB, free: 6.715 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/1.196, allocations: 1.337 MB / 1.315 GB, free: 5.371 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.196, allocations: 0 / 1.315 GB, free: 5.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004053/1.2, allocations: 1.811 MB / 1.316 GB, free: 3.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.2, allocations: 7.938 kB / 1.316 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.2, allocations: 4 kB / 1.316 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.201, allocations: 212.2 kB / 1.317 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.203, allocations: 331.5 kB / 1.317 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/1.209, allocations: 7.305 MB / 1.324 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.211, allocations: 158.8 kB / 1.324 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/1.211, allocations: 59.95 kB / 1.324 GB, free: 10.75 MB / 1.061 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.00128/1.212, allocations: 491.2 kB / 1.325 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007597/1.213, allocations: 173.8 kB / 1.325 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004872/1.218, allocations: 2.129 MB / 1.327 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/1.218, allocations: 16 kB / 1.327 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/1.218, allocations: 7.938 kB / 1.327 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/1.218, allocations: 7.969 kB / 1.327 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/1.226, allocations: 3.976 MB / 1.331 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.226, allocations: 0 / 1.331 GB, free: 3.844 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.227, allocations: 319.5 kB / 1.331 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009102/1.228, allocations: 208.1 kB / 1.331 GB, free: 3.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.229, allocations: 43.97 kB / 1.331 GB, free: 3.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006069/1.235, allocations: 7.344 MB / 1.339 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.235, allocations: 0 / 1.339 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/1.239, allocations: 2 MB / 1.34 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.241, allocations: 466.4 kB / 1.341 GB, free: 8.699 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004284/1.241, allocations: 32 kB / 1.341 GB, free: 8.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.243, allocations: 99.89 kB / 1.341 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/1.243, allocations: 113.2 kB / 1.341 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/1.243, allocations: 71.94 kB / 1.341 GB, free: 8.387 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001988/1.245, allocations: 1.277 MB / 1.342 GB, free: 7.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.91e-07/1.245, allocations: 3.938 kB / 1.342 GB, free: 7.109 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002228/1.247, allocations: 0.6585 MB / 1.343 GB, free: 6.449 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.002031/1.249, allocations: 0.7537 MB / 1.344 GB, free: 5.879 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003667/1.253, allocations: 2.086 MB / 1.346 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.253, allocations: 0.5625 kB / 1.346 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/1.255, allocations: 1.426 MB / 1.347 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/1.258, allocations: 0.5185 MB / 1.348 GB, free: 1.742 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/1.266, allocations: 3.753 MB / 1.351 GB, free: 13.96 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.268, allocations: 1.49 MB / 1.353 GB, free: 12.43 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008261/1.269, allocations: 195.3 kB / 1.353 GB, free: 12.24 MB / 1.092 GB Notification: Performance of SimCode: time 1.152e-06/1.269, allocations: 0 / 1.353 GB, free: 12.24 MB / 1.092 GB Notification: Performance of Templates: time 0.0756/1.344, allocations: 66.75 MB / 1.418 GB, free: 9.531 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches