Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001365/0.001365, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001541/0.001541, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001909, allocations: 71.94 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3248, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.7374/1.062, allocations: 166.1 MB / 1.226 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02254/1.085, allocations: 17.15 MB / 1.243 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/1.087, allocations: 31.81 kB / 1.243 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.089, allocations: 489 kB / 1.244 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/1.094, allocations: 1.627 MB / 1.245 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/1.098, allocations: 1.31 MB / 1.246 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004057/1.102, allocations: 2.851 MB / 1.249 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/1.105, allocations: 1.949 MB / 1.251 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006178/1.111, allocations: 1.423 MB / 1.253 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/1.113, allocations: 1.152 MB / 1.254 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004698/1.114, allocations: 224 kB / 1.254 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/1.117, allocations: 1.552 MB / 1.255 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000828/1.118, allocations: 0.8024 MB / 1.256 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/1.119, allocations: 1.217 MB / 1.257 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/1.123, allocations: 2.686 MB / 1.26 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.123, allocations: 0 / 1.26 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/1.123, allocations: 0 / 1.26 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.648e-05/1.123, allocations: 0 / 1.26 GB, free: 0.6523 MB / 0.9669 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.00512/1.128, allocations: 2.749 MB / 1.263 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.128, allocations: 12.62 kB / 1.263 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/1.132, allocations: 0.5551 MB / 1.263 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/1.135, allocations: 1.599 MB / 1.265 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/1.135, allocations: 127.4 kB / 1.265 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.135, allocations: 172 kB / 1.265 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/1.139, allocations: 1.948 MB / 1.267 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/1.139, allocations: 0 / 1.267 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/1.139, allocations: 68 kB / 1.267 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/1.139, allocations: 48 kB / 1.267 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003666/1.142, allocations: 2.089 MB / 1.269 GB, free: 7.113 MB / 0.9825 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.009768/1.152, allocations: 6.079 MB / 1.275 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/1.156, allocations: 2.089 MB / 1.277 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.157, allocations: 0.7647 MB / 1.278 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/1.158, allocations: 429.5 kB / 1.278 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/1.16, allocations: 1.005 MB / 1.279 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/1.16, allocations: 0 / 1.279 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.007145/1.167, allocations: 2.958 MB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.167, allocations: 193.2 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/1.169, allocations: 1.791 MB / 1.284 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002521/1.17, allocations: 57.7 kB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007984/1.17, allocations: 0.8311 MB / 1.285 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/1.171, allocations: 477 kB / 1.285 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/1.171, allocations: 262.7 kB / 1.286 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.172, allocations: 361.9 kB / 1.286 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.173, allocations: 0.5843 MB / 1.287 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/1.174, allocations: 0.8052 MB / 1.287 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002603/1.177, allocations: 1.329 MB / 1.289 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/1.177, allocations: 0 / 1.289 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004652/1.182, allocations: 1.815 MB / 1.29 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/1.182, allocations: 4 kB / 1.29 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.182, allocations: 3.938 kB / 1.29 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.183, allocations: 220.2 kB / 1.291 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.185, allocations: 335.5 kB / 1.291 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/1.192, allocations: 7.332 MB / 1.298 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.193, allocations: 174.8 kB / 1.298 GB, free: 7.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.194, allocations: 63.89 kB / 1.298 GB, free: 7.668 MB / 1.014 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.001053/1.195, allocations: 485.4 kB / 1.299 GB, free: 7.184 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/1.195, allocations: 185.7 kB / 1.299 GB, free: 7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004675/1.2, allocations: 2.125 MB / 1.301 GB, free: 4.848 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/1.2, allocations: 16 kB / 1.301 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.2, allocations: 0 / 1.301 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/1.2, allocations: 7.969 kB / 1.301 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007386/1.207, allocations: 3.979 MB / 1.305 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.207, allocations: 0 / 1.305 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/1.209, allocations: 315.5 kB / 1.305 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009545/1.21, allocations: 216 kB / 1.305 GB, free: 236 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/1.21, allocations: 43.97 kB / 1.305 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006787/1.217, allocations: 7.355 MB / 1.313 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.217, allocations: 0 / 1.313 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004617/1.221, allocations: 1.986 MB / 1.315 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.222, allocations: 474.2 kB / 1.315 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003749/1.223, allocations: 24 kB / 1.315 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.224, allocations: 135.7 kB / 1.315 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/1.225, allocations: 109.2 kB / 1.315 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/1.225, allocations: 71.94 kB / 1.315 GB, free: 5.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001853/1.227, allocations: 1.277 MB / 1.317 GB, free: 4.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.21e-07/1.227, allocations: 0 / 1.317 GB, free: 4.016 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002025/1.229, allocations: 0.6782 MB / 1.317 GB, free: 3.336 MB / 1.029 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.002415/1.231, allocations: 0.77 MB / 1.318 GB, free: 2.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005537/1.237, allocations: 2.512 MB / 1.32 GB, free: 176 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.237, allocations: 4.562 kB / 1.32 GB, free: 168 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/1.239, allocations: 1.414 MB / 1.322 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.242, allocations: 0.5507 MB / 1.322 GB, free: 14.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00726/1.249, allocations: 4.474 MB / 1.327 GB, free: 9.652 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.25, allocations: 1.49 MB / 1.328 GB, free: 8.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/1.251, allocations: 195.3 kB / 1.328 GB, free: 7.938 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/1.251, allocations: 4 kB / 1.328 GB, free: 7.934 MB / 1.045 GB Notification: Performance of Templates: time 0.07962/1.331, allocations: 66.9 MB / 1.394 GB, free: 5.094 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches