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.007572/0.007572, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001719/0.001719, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 64.12 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3463, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.9335/1.28, allocations: 154.9 MB / 1.372 GB, free: 11.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01669/1.296, allocations: 10.56 MB / 1.382 GB, free: 4.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/1.298, allocations: 16.94 kB / 1.382 GB, free: 4.316 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/1.299, allocations: 293.6 kB / 1.383 GB, free: 4.137 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/1.303, allocations: 0.9913 MB / 1.383 GB, free: 3.449 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/1.306, allocations: 1.077 MB / 1.385 GB, free: 2.648 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002879/1.309, allocations: 1.731 MB / 1.386 GB, free: 1.578 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/1.311, allocations: 0.943 MB / 1.387 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/1.313, allocations: 0.7378 MB / 1.388 GB, free: 476 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.314, allocations: 0.6228 MB / 1.388 GB, free: 32 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005501/1.315, allocations: 138 kB / 1.389 GB, free: 28 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/1.318, allocations: 1.031 MB / 1.39 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/1.318, allocations: 386.6 kB / 1.39 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/1.32, allocations: 0.6697 MB / 1.391 GB, free: 14.76 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004628/1.324, allocations: 2.215 MB / 1.393 GB, free: 13.22 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.324, allocations: 0.9688 kB / 1.393 GB, free: 13.22 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/1.324, allocations: 0 / 1.393 GB, free: 13.22 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.926e-05/1.324, allocations: 0 / 1.393 GB, free: 13.22 MB / 1.092 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.004569/1.329, allocations: 1.753 MB / 1.395 GB, free: 11.86 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.329, allocations: 9.188 kB / 1.395 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.331, allocations: 282.4 kB / 1.395 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/1.333, allocations: 0.9029 MB / 1.396 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.68e-05/1.333, allocations: 73.19 kB / 1.396 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/1.333, allocations: 100.3 kB / 1.396 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/1.336, allocations: 1.106 MB / 1.397 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/1.336, allocations: 1.188 kB / 1.397 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.336, allocations: 42.12 kB / 1.397 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/1.336, allocations: 27.19 kB / 1.397 GB, free: 10.22 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/1.338, allocations: 1.315 MB / 1.398 GB, free: 9.605 MB / 1.092 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.006167/1.345, allocations: 3.419 MB / 1.402 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/1.347, allocations: 1.049 MB / 1.403 GB, free: 6.289 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/1.348, allocations: 390.4 kB / 1.403 GB, free: 6.094 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/1.348, allocations: 136 kB / 1.403 GB, free: 5.977 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/1.349, allocations: 0.624 MB / 1.404 GB, free: 5.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=95): time 4.529e-06/1.349, allocations: 0 / 1.404 GB, free: 5.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=95): time 0.004455/1.354, allocations: 1.629 MB / 1.405 GB, free: 4.676 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.354, allocations: 196 kB / 1.406 GB, free: 4.453 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/1.355, allocations: 0.806 MB / 1.406 GB, free: 4.004 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.355, allocations: 47.22 kB / 1.406 GB, free: 3.957 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/1.356, allocations: 472.1 kB / 1.407 GB, free: 3.547 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/1.356, allocations: 326.2 kB / 1.407 GB, free: 3.262 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.356, allocations: 185.3 kB / 1.407 GB, free: 3.152 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.356, allocations: 344.4 kB / 1.408 GB, free: 2.82 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00075/1.357, allocations: 349.7 kB / 1.408 GB, free: 2.652 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/1.358, allocations: 472.6 kB / 1.408 GB, free: 2.383 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/1.36, allocations: 0.7924 MB / 1.409 GB, free: 1.969 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.36, allocations: 0 / 1.409 GB, free: 1.969 MB / 1.092 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002685/1.362, allocations: 1.095 MB / 1.41 GB, free: 1.41 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.362, allocations: 11.33 kB / 1.41 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.362, allocations: 0 / 1.41 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007743/1.363, allocations: 114.2 kB / 1.41 GB, free: 1.348 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009147/1.364, allocations: 212.7 kB / 1.411 GB, free: 1.289 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/1.367, allocations: 3.073 MB / 1.414 GB, free: 14.21 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.369, allocations: 122.1 kB / 1.414 GB, free: 14.13 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/1.369, allocations: 41.19 kB / 1.414 GB, free: 14.11 MB / 1.107 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.0007144/1.369, allocations: 309.3 kB / 1.414 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/1.37, allocations: 109.1 kB / 1.414 GB, free: 13.82 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/1.373, allocations: 1.318 MB / 1.415 GB, free: 13.05 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.373, allocations: 12 kB / 1.415 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.373, allocations: 0 / 1.415 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.373, allocations: 3.984 kB / 1.415 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/1.378, allocations: 2.419 MB / 1.418 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.378, allocations: 0 / 1.418 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/1.379, allocations: 191.8 kB / 1.418 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/1.379, allocations: 101.6 kB / 1.418 GB, free: 10.26 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.344e-05/1.379, allocations: 35.91 kB / 1.418 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/1.382, allocations: 3.098 MB / 1.421 GB, free: 6.84 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.382, allocations: 0 / 1.421 GB, free: 6.84 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/1.385, allocations: 1.241 MB / 1.422 GB, free: 5.574 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/1.386, allocations: 320 kB / 1.423 GB, free: 5.242 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.386, allocations: 16 kB / 1.423 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/1.387, allocations: 79.91 kB / 1.423 GB, free: 5.148 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.387, allocations: 80.89 kB / 1.423 GB, free: 5.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/1.387, allocations: 47.91 kB / 1.423 GB, free: 5.023 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000854/1.388, allocations: 0.5732 MB / 1.423 GB, free: 4.453 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.388, allocations: 0 / 1.423 GB, free: 4.453 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001458/1.39, allocations: 458.9 kB / 1.424 GB, free: 4.004 MB / 1.107 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.001856/1.392, allocations: 0.7276 MB / 1.425 GB, free: 3.461 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002495/1.394, allocations: 1.111 MB / 1.426 GB, free: 2.324 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.394, allocations: 3.859 kB / 1.426 GB, free: 2.32 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/1.395, allocations: 0.7097 MB / 1.426 GB, free: 1.59 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/1.397, allocations: 355.4 kB / 1.427 GB, free: 1.266 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/1.401, allocations: 2.034 MB / 1.429 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/1.402, allocations: 1.11 MB / 1.43 GB, free: 14.05 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001124/1.403, allocations: 307.6 kB / 1.43 GB, free: 13.75 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/1.403, allocations: 127.3 kB / 1.43 GB, free: 13.62 MB / 1.123 GB Notification: Performance of SimCode: time 1.222e-06/1.403, allocations: 0 / 1.43 GB, free: 13.62 MB / 1.123 GB Notification: Performance of Templates: time 0.03467/1.438, allocations: 20.29 MB / 1.45 GB, free: 9.559 MB / 1.139 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=480 -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/jenkins/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