Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001201/0.001201, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.378/1.378, 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 9.1.3-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8966, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1965/1.093, allocations: 154 MB / 1.239 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01696/1.11, allocations: 10.49 MB / 1.249 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/1.112, allocations: 22.81 kB / 1.249 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.113, allocations: 273.8 kB / 1.25 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003873/1.117, allocations: 0.9403 MB / 1.25 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/1.12, allocations: 1.078 MB / 1.252 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002496/1.123, allocations: 1.651 MB / 1.253 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/1.125, allocations: 1.179 MB / 1.254 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/1.127, allocations: 0.7271 MB / 1.255 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/1.128, allocations: 0.6067 MB / 1.256 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004209/1.129, allocations: 140 kB / 1.256 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/1.131, allocations: 1.026 MB / 1.257 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/1.132, allocations: 374.9 kB / 1.257 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/1.133, allocations: 0.6567 MB / 1.258 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004106/1.137, allocations: 2.185 MB / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.137, allocations: 0 / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.137, allocations: 0 / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.076e-05/1.137, allocations: 0 / 1.26 GB, free: 14.36 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003498/1.141, allocations: 1.699 MB / 1.262 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.141, allocations: 11.97 kB / 1.262 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/1.142, allocations: 270.1 kB / 1.262 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.144, allocations: 0.8979 MB / 1.263 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/1.144, allocations: 77.98 kB / 1.263 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.144, allocations: 96 kB / 1.263 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/1.146, allocations: 1.113 MB / 1.264 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.146, allocations: 0 / 1.264 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/1.146, allocations: 43.98 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/1.146, allocations: 24 kB / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/1.148, allocations: 1.315 MB / 1.265 GB, free: 8.684 MB / 0.9981 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.005073/1.153, allocations: 3.187 MB / 1.268 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/1.155, allocations: 1.102 MB / 1.269 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/1.156, allocations: 417.2 kB / 1.27 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/1.156, allocations: 142 kB / 1.27 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.157, allocations: 0.6215 MB / 1.271 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.404e-06/1.157, allocations: 0 / 1.271 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004089/1.162, allocations: 1.627 MB / 1.272 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.162, allocations: 200.9 kB / 1.272 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.163, allocations: 0.8018 MB / 1.273 GB, free: 332 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/1.163, allocations: 45.7 kB / 1.273 GB, free: 280 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/1.163, allocations: 472.4 kB / 1.274 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/1.164, allocations: 303.6 kB / 1.274 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/1.164, allocations: 186.5 kB / 1.274 GB, free: 15.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.164, allocations: 345.9 kB / 1.274 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/1.165, allocations: 349.8 kB / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008495/1.166, allocations: 481.6 kB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.167, allocations: 0.7921 MB / 1.276 GB, free: 13.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.167, allocations: 0 / 1.276 GB, free: 13.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00254/1.17, allocations: 1.087 MB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.17, allocations: 4 kB / 1.277 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.17, allocations: 4 kB / 1.277 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/1.17, allocations: 109.7 kB / 1.277 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/1.171, allocations: 211.7 kB / 1.277 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/1.174, allocations: 3.06 MB / 1.28 GB, free: 8.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.175, allocations: 123 kB / 1.28 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/1.176, allocations: 40.05 kB / 1.281 GB, free: 8.402 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000621/1.176, allocations: 311.8 kB / 1.281 GB, free: 8.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/1.176, allocations: 98.78 kB / 1.281 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/1.179, allocations: 1.322 MB / 1.282 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.179, allocations: 12 kB / 1.282 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.179, allocations: 0 / 1.282 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.179, allocations: 3.984 kB / 1.282 GB, free: 6.633 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/1.183, allocations: 2.427 MB / 1.285 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.183, allocations: 0 / 1.285 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/1.184, allocations: 187.7 kB / 1.285 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/1.185, allocations: 109.6 kB / 1.285 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/1.185, allocations: 27.92 kB / 1.285 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/1.188, allocations: 3.096 MB / 1.288 GB, free: 448 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.188, allocations: 0 / 1.288 GB, free: 448 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.19, allocations: 1.233 MB / 1.289 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005128/1.191, allocations: 315.4 kB / 1.289 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.191, allocations: 20 kB / 1.289 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/1.192, allocations: 83.91 kB / 1.29 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.192, allocations: 84.77 kB / 1.29 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.786e-05/1.192, allocations: 43.97 kB / 1.29 GB, free: 14.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008054/1.193, allocations: 0.5693 MB / 1.29 GB, free: 14.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.193, allocations: 0 / 1.29 GB, free: 14.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001335/1.194, allocations: 447 kB / 1.291 GB, free: 13.62 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001807/1.196, allocations: 0.7104 MB / 1.291 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002339/1.199, allocations: 1.138 MB / 1.292 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.199, allocations: 3.938 kB / 1.292 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.2, allocations: 0.7373 MB / 1.293 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/1.201, allocations: 350 kB / 1.293 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/1.206, allocations: 2.145 MB / 1.296 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/1.207, allocations: 1.095 MB / 1.297 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/1.208, allocations: 143.3 kB / 1.297 GB, free: 7.406 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/1.208, allocations: 0 / 1.297 GB, free: 7.406 MB / 1.029 GB Notification: Performance of Templates: time 0.0372/1.245, allocations: 27.37 MB / 1.324 GB, free: 12.1 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches