Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_11_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_11_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.00156/0.00156, allocations: 113.9 kB / 15.99 MB, free: 6.348 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.001602/0.001602, allocations: 191 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.395/1.395, 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.68/2.68, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.002291, allocations: 67.77 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3422, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.7188/1.061, allocations: 152.3 MB / 1.213 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0155/1.077, allocations: 10.42 MB / 1.223 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/1.078, allocations: 19.72 kB / 1.223 GB, free: 3.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/1.079, allocations: 231.2 kB / 1.223 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003153/1.082, allocations: 0.8715 MB / 1.224 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/1.085, allocations: 0.984 MB / 1.225 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0022/1.087, allocations: 1.712 MB / 1.227 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/1.088, allocations: 1.147 MB / 1.228 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/1.091, allocations: 0.7076 MB / 1.229 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/1.092, allocations: 0.646 MB / 1.229 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.092, allocations: 135.7 kB / 1.229 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/1.094, allocations: 1.009 MB / 1.23 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004096/1.095, allocations: 378.8 kB / 1.231 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0007693/1.095, allocations: 0.6685 MB / 1.231 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002554/1.098, allocations: 1.637 MB / 1.233 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.098, allocations: 0 / 1.233 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/1.098, allocations: 3.938 kB / 1.233 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.876e-05/1.098, allocations: 0 / 1.233 GB, free: 12.33 MB / 0.9512 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.003449/1.101, allocations: 1.715 MB / 1.235 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.101, allocations: 8.625 kB / 1.235 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/1.103, allocations: 270.1 kB / 1.235 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/1.105, allocations: 0.8784 MB / 1.236 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.138e-05/1.105, allocations: 77.94 kB / 1.236 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/1.105, allocations: 97.19 kB / 1.236 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/1.107, allocations: 1.106 MB / 1.237 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.107, allocations: 0 / 1.237 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.107, allocations: 44 kB / 1.237 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/1.107, allocations: 20 kB / 1.237 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/1.11, allocations: 1.323 MB / 1.238 GB, free: 6.66 MB / 0.9512 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.006387/1.116, allocations: 3.435 MB / 1.242 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/1.118, allocations: 1.103 MB / 1.243 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/1.119, allocations: 419.7 kB / 1.243 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/1.119, allocations: 138 kB / 1.243 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/1.121, allocations: 0.6254 MB / 1.244 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=95): time 2.835e-06/1.121, allocations: 0 / 1.244 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95): time 0.004556/1.125, allocations: 1.635 MB / 1.246 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.125, allocations: 188.9 kB / 1.246 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.127, allocations: 0.8057 MB / 1.247 GB, free: 14 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/1.127, allocations: 49.7 kB / 1.247 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/1.127, allocations: 464.4 kB / 1.247 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/1.127, allocations: 307.6 kB / 1.247 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/1.128, allocations: 190.4 kB / 1.247 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002213/1.128, allocations: 338 kB / 1.248 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/1.129, allocations: 349.8 kB / 1.248 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009454/1.13, allocations: 481.6 kB / 1.249 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/1.131, allocations: 0.7857 MB / 1.249 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.131, allocations: 3.938 kB / 1.249 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002689/1.134, allocations: 1.088 MB / 1.25 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.134, allocations: 6.5 kB / 1.25 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.134, allocations: 0 / 1.25 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007909/1.135, allocations: 121.6 kB / 1.251 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/1.136, allocations: 203.7 kB / 1.251 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/1.14, allocations: 3.074 MB / 1.254 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.141, allocations: 117 kB / 1.254 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/1.141, allocations: 48.03 kB / 1.254 GB, free: 6.074 MB / 0.9669 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.0006277/1.141, allocations: 313.5 kB / 1.254 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/1.142, allocations: 98.78 kB / 1.254 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/1.145, allocations: 1.322 MB / 1.256 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/1.145, allocations: 12 kB / 1.256 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.145, allocations: 0 / 1.256 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/1.145, allocations: 11.91 kB / 1.256 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/1.149, allocations: 2.411 MB / 1.258 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.149, allocations: 4 kB / 1.258 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/1.15, allocations: 183.8 kB / 1.258 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006411/1.151, allocations: 109.6 kB / 1.258 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/1.151, allocations: 31.91 kB / 1.258 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/1.154, allocations: 3.1 MB / 1.261 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.154, allocations: 0 / 1.261 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/1.157, allocations: 1.235 MB / 1.263 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/1.158, allocations: 307.5 kB / 1.263 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/1.158, allocations: 27.91 kB / 1.263 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/1.159, allocations: 83.97 kB / 1.263 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002028/1.159, allocations: 84.89 kB / 1.263 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.159, allocations: 51.84 kB / 1.263 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008188/1.16, allocations: 0.5693 MB / 1.264 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.16, allocations: 0 / 1.264 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0013/1.161, allocations: 451.2 kB / 1.264 GB, free: 11.28 MB / 0.9825 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.00225/1.164, allocations: 0.7104 MB / 1.265 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003378/1.167, allocations: 1.393 MB / 1.266 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.167, allocations: 4 kB / 1.266 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.169, allocations: 0.7372 MB / 1.267 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.17, allocations: 367.3 kB / 1.267 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/1.174, allocations: 2.544 MB / 1.27 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008071/1.175, allocations: 1.095 MB / 1.271 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/1.176, allocations: 131.4 kB / 1.271 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/1.176, allocations: 4 kB / 1.271 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of Templates: time 0.04034/1.216, allocations: 27.37 MB / 1.298 GB, free: 9.09 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches