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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.7 MB / 0.7629 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.89 kB / 1.107 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 168.7 MB / 1.272 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2261/1.256, allocations: 169.1 MB / 1.437 GB, free: 9.473 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02651/1.283, allocations: 17.62 MB / 1.454 GB, free: 9.879 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/1.285, allocations: 31.81 kB / 1.454 GB, free: 9.848 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/1.288, allocations: 0.5972 MB / 1.455 GB, free: 9.246 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00736/1.295, allocations: 1.814 MB / 1.457 GB, free: 7.43 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005014/1.3, allocations: 1.462 MB / 1.458 GB, free: 5.98 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005763/1.306, allocations: 2.87 MB / 1.461 GB, free: 3.098 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/1.309, allocations: 1.597 MB / 1.462 GB, free: 1.441 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005338/1.315, allocations: 1.478 MB / 1.464 GB, free: 8 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/1.317, allocations: 1.148 MB / 1.465 GB, free: 14.85 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005114/1.317, allocations: 220 kB / 1.465 GB, free: 14.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/1.323, allocations: 1.603 MB / 1.467 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009954/1.324, allocations: 0.7867 MB / 1.468 GB, free: 12.25 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001999/1.326, allocations: 1.213 MB / 1.469 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007764/1.334, allocations: 3.619 MB / 1.472 GB, free: 7.395 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.334, allocations: 0 / 1.472 GB, free: 7.395 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.683e-06/1.334, allocations: 0 / 1.472 GB, free: 7.395 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.000108/1.334, allocations: 0 / 1.472 GB, free: 7.395 MB / 1.154 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.006161/1.34, allocations: 2.83 MB / 1.475 GB, free: 4.492 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.34, allocations: 11.97 kB / 1.475 GB, free: 4.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/1.344, allocations: 0.5721 MB / 1.476 GB, free: 3.906 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/1.349, allocations: 1.64 MB / 1.477 GB, free: 2.215 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/1.349, allocations: 127.4 kB / 1.477 GB, free: 2.09 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/1.349, allocations: 168 kB / 1.478 GB, free: 1.926 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004537/1.354, allocations: 1.941 MB / 1.479 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.413e-05/1.354, allocations: 0 / 1.479 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/1.354, allocations: 72 kB / 1.479 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/1.354, allocations: 47.94 kB / 1.48 GB, free: 15.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/1.358, allocations: 2.089 MB / 1.482 GB, free: 13.72 MB / 1.17 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.01152/1.369, allocations: 6.038 MB / 1.487 GB, free: 7.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003643/1.373, allocations: 2.008 MB / 1.489 GB, free: 5.258 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/1.374, allocations: 0.7065 MB / 1.49 GB, free: 4.543 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/1.375, allocations: 425.6 kB / 1.491 GB, free: 4.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/1.377, allocations: 1.013 MB / 1.492 GB, free: 3.02 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.136e-06/1.377, allocations: 0 / 1.492 GB, free: 3.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007203/1.384, allocations: 2.955 MB / 1.494 GB, free: 15.95 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/1.384, allocations: 201.2 kB / 1.495 GB, free: 15.71 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/1.387, allocations: 1.788 MB / 1.496 GB, free: 13.91 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003546/1.388, allocations: 53.7 kB / 1.496 GB, free: 13.86 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000943/1.389, allocations: 0.8441 MB / 1.497 GB, free: 13 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006619/1.389, allocations: 0.4958 MB / 1.498 GB, free: 12.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004618/1.39, allocations: 254.8 kB / 1.498 GB, free: 12.24 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001842/1.39, allocations: 357.9 kB / 1.498 GB, free: 11.89 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/1.391, allocations: 0.5921 MB / 1.499 GB, free: 11.3 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/1.393, allocations: 0.7974 MB / 1.5 GB, free: 10.45 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/1.395, allocations: 1.337 MB / 1.501 GB, free: 9.102 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.395, allocations: 0 / 1.501 GB, free: 9.102 MB / 1.186 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00442/1.4, allocations: 1.816 MB / 1.503 GB, free: 7.262 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/1.4, allocations: 7.938 kB / 1.503 GB, free: 7.254 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.4, allocations: 4.094 kB / 1.503 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/1.401, allocations: 208.1 kB / 1.503 GB, free: 7.031 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.403, allocations: 335.5 kB / 1.503 GB, free: 6.703 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/1.41, allocations: 7.317 MB / 1.51 GB, free: 14.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.412, allocations: 163.3 kB / 1.511 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/1.413, allocations: 55.95 kB / 1.511 GB, free: 14.47 MB / 1.201 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.001135/1.414, allocations: 487.2 kB / 1.511 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/1.414, allocations: 186.8 kB / 1.511 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/1.419, allocations: 2.125 MB / 1.513 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.419, allocations: 16 kB / 1.513 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.419, allocations: 8 kB / 1.513 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/1.419, allocations: 7.969 kB / 1.513 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008064/1.427, allocations: 3.984 MB / 1.517 GB, free: 7.555 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.427, allocations: 0 / 1.517 GB, free: 7.555 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/1.428, allocations: 323.4 kB / 1.518 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009176/1.429, allocations: 212.1 kB / 1.518 GB, free: 7.016 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/1.429, allocations: 39.97 kB / 1.518 GB, free: 6.977 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00706/1.437, allocations: 7.344 MB / 1.525 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.437, allocations: 3.938 kB / 1.525 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/1.441, allocations: 1.998 MB / 1.527 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.443, allocations: 483.3 kB / 1.527 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/1.443, allocations: 28 kB / 1.527 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.444, allocations: 112.9 kB / 1.528 GB, free: 12.26 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.445, allocations: 109.2 kB / 1.528 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.445, allocations: 71.94 kB / 1.528 GB, free: 12.08 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001859/1.447, allocations: 1.277 MB / 1.529 GB, free: 10.8 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.447, allocations: 0 / 1.529 GB, free: 10.8 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002349/1.449, allocations: 0.6859 MB / 1.53 GB, free: 10.12 MB / 1.217 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.002515/1.451, allocations: 0.7682 MB / 1.53 GB, free: 9.531 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00403/1.455, allocations: 2.027 MB / 1.532 GB, free: 7.441 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.455, allocations: 0.5625 kB / 1.532 GB, free: 7.441 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/1.458, allocations: 1.356 MB / 1.534 GB, free: 6.02 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.461, allocations: 0.5467 MB / 1.534 GB, free: 5.496 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/1.469, allocations: 3.789 MB / 1.538 GB, free: 1.668 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/1.47, allocations: 1.533 MB / 1.539 GB, free: 100 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002187/1.472, allocations: 0.5009 MB / 1.54 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/1.473, allocations: 171.4 kB / 1.54 GB, free: 15.42 MB / 1.232 GB Notification: Performance of SimCode: time 1.653e-06/1.473, allocations: 0 / 1.54 GB, free: 15.42 MB / 1.232 GB Notification: Performance of Templates: time 0.06405/1.537, allocations: 32.85 MB / 1.572 GB, free: 14.91 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.890379574149847]