Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007572/0.007572, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001782/0.001782, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.88 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3284, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.8614/1.19, allocations: 168.4 MB / 1.331 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02684/1.217, allocations: 17.35 MB / 1.348 GB, free: 6.164 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/1.22, allocations: 31.28 kB / 1.348 GB, free: 6.152 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002338/1.222, allocations: 0.5661 MB / 1.349 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/1.229, allocations: 1.785 MB / 1.35 GB, free: 4.832 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004998/1.234, allocations: 1.443 MB / 1.352 GB, free: 4.055 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005629/1.24, allocations: 2.856 MB / 1.355 GB, free: 2.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/1.243, allocations: 1.948 MB / 1.356 GB, free: 1.711 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/1.248, allocations: 1.419 MB / 1.358 GB, free: 1.094 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/1.25, allocations: 1.107 MB / 1.359 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004793/1.251, allocations: 221.6 kB / 1.359 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/1.255, allocations: 1.555 MB / 1.361 GB, free: 64 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008148/1.255, allocations: 0.791 MB / 1.361 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001943/1.257, allocations: 1.227 MB / 1.363 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007047/1.264, allocations: 3.608 MB / 1.366 GB, free: 12.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1.264, allocations: 0 / 1.366 GB, free: 12.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.225e-06/1.264, allocations: 0 / 1.366 GB, free: 12.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.402e-05/1.265, allocations: 0 / 1.366 GB, free: 12.65 MB / 1.045 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.005425/1.27, allocations: 2.827 MB / 1.369 GB, free: 10.55 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.27, allocations: 13.28 kB / 1.369 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003702/1.274, allocations: 0.5709 MB / 1.369 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/1.276, allocations: 1.643 MB / 1.371 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/1.276, allocations: 125.3 kB / 1.371 GB, free: 9.062 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/1.277, allocations: 170.5 kB / 1.371 GB, free: 9.008 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/1.28, allocations: 1.949 MB / 1.373 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/1.28, allocations: 0 / 1.373 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/1.28, allocations: 74.53 kB / 1.373 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/1.28, allocations: 39.28 kB / 1.373 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/1.284, allocations: 2.09 MB / 1.375 GB, free: 6.859 MB / 1.045 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.009525/1.293, allocations: 6.049 MB / 1.381 GB, free: 2.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/1.296, allocations: 2.093 MB / 1.383 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/1.298, allocations: 0.7622 MB / 1.384 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/1.298, allocations: 429.4 kB / 1.385 GB, free: 116 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001741/1.3, allocations: 1.01 MB / 1.385 GB, free: 15.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 2.805e-06/1.3, allocations: 0 / 1.385 GB, free: 15.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.006955/1.307, allocations: 2.963 MB / 1.388 GB, free: 13.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.307, allocations: 195.9 kB / 1.389 GB, free: 13.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/1.31, allocations: 1.78 MB / 1.39 GB, free: 12.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000208/1.31, allocations: 60.08 kB / 1.39 GB, free: 12.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007357/1.311, allocations: 0.8477 MB / 1.391 GB, free: 11.95 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/1.311, allocations: 0.4978 MB / 1.392 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/1.312, allocations: 257 kB / 1.392 GB, free: 11.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.312, allocations: 358 kB / 1.392 GB, free: 11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.313, allocations: 0.5874 MB / 1.393 GB, free: 10.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/1.314, allocations: 0.801 MB / 1.394 GB, free: 10.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/1.317, allocations: 1.332 MB / 1.395 GB, free: 9.625 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.317, allocations: 2.688 kB / 1.395 GB, free: 9.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004038/1.321, allocations: 1.819 MB / 1.397 GB, free: 8.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.321, allocations: 4 kB / 1.397 GB, free: 8.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.321, allocations: 11.88 kB / 1.397 GB, free: 8.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.322, allocations: 216.2 kB / 1.397 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.323, allocations: 331.5 kB / 1.397 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006181/1.33, allocations: 7.319 MB / 1.404 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/1.331, allocations: 159.1 kB / 1.405 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.332, allocations: 52.03 kB / 1.405 GB, free: 15.24 MB / 1.076 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.001122/1.333, allocations: 487.2 kB / 1.405 GB, free: 14.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/1.333, allocations: 182.8 kB / 1.405 GB, free: 14.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/1.338, allocations: 2.14 MB / 1.407 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.338, allocations: 12 kB / 1.407 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.338, allocations: 8 kB / 1.407 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.338, allocations: 7.969 kB / 1.407 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/1.344, allocations: 3.965 MB / 1.411 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.344, allocations: 0 / 1.411 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.346, allocations: 331.5 kB / 1.412 GB, free: 8.012 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008623/1.347, allocations: 204.1 kB / 1.412 GB, free: 7.797 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.347, allocations: 39.97 kB / 1.412 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005959/1.353, allocations: 7.355 MB / 1.419 GB, free: 15.69 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.353, allocations: 7.922 kB / 1.419 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/1.357, allocations: 1.993 MB / 1.421 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.359, allocations: 479.3 kB / 1.421 GB, free: 13.17 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/1.359, allocations: 36 kB / 1.421 GB, free: 13.13 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.36, allocations: 103.7 kB / 1.421 GB, free: 13.04 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/1.36, allocations: 109.2 kB / 1.422 GB, free: 12.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.36, allocations: 75.94 kB / 1.422 GB, free: 12.85 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001707/1.362, allocations: 1.281 MB / 1.423 GB, free: 11.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.362, allocations: 0 / 1.423 GB, free: 11.57 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001938/1.364, allocations: 0.6859 MB / 1.424 GB, free: 10.89 MB / 1.092 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.001763/1.366, allocations: 0.7601 MB / 1.424 GB, free: 10.31 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003424/1.369, allocations: 2.09 MB / 1.426 GB, free: 8.152 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.369, allocations: 4.562 kB / 1.426 GB, free: 8.148 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.371, allocations: 1.414 MB / 1.428 GB, free: 6.672 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.374, allocations: 0.545 MB / 1.428 GB, free: 6.148 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/1.381, allocations: 3.772 MB / 1.432 GB, free: 2.34 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.382, allocations: 1.525 MB / 1.433 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001885/1.384, allocations: 0.4931 MB / 1.434 GB, free: 284 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/1.384, allocations: 175.4 kB / 1.434 GB, free: 108 kB / 1.092 GB Notification: Performance of SimCode: time 9.11e-07/1.384, allocations: 0 / 1.434 GB, free: 108 kB / 1.092 GB Notification: Performance of Templates: time 0.05401/1.438, allocations: 32.14 MB / 1.466 GB, free: 336 kB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches