Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002587/0.002587, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.174/3.174, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.517e-05, allocations: 3.531 kB / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.2313/0.2313, allocations: 148.3 MB / 1.022 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.03063/0.262, allocations: 16.12 MB / 1.038 GB, free: 1.559 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.2641, allocations: 47.56 kB / 1.038 GB, free: 1.512 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.2667, allocations: 0.5698 MB / 1.039 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007465/0.2741, allocations: 1.865 MB / 1.041 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.2789, allocations: 1.469 MB / 1.042 GB, free: 13.59 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005302/0.2842, allocations: 2.951 MB / 1.045 GB, free: 10.63 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003519/0.2877, allocations: 1.561 MB / 1.046 GB, free: 9.016 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007654/0.2954, allocations: 2.124 MB / 1.048 GB, free: 7.004 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.2978, allocations: 0.9347 MB / 1.049 GB, free: 6.066 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001172/0.299, allocations: 236 kB / 1.05 GB, free: 5.836 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.3032, allocations: 1.466 MB / 1.051 GB, free: 4.367 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.3046, allocations: 0.8374 MB / 1.052 GB, free: 3.527 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.3068, allocations: 0.8456 MB / 1.053 GB, free: 2.68 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4615/0.7683, allocations: 3.84 MB / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.7683, allocations: 0 / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7683, allocations: 0 / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001389/0.7684, allocations: 0 / 1.056 GB, free: 53.95 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.00571/0.7742, allocations: 2.771 MB / 1.059 GB, free: 52.78 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.7742, allocations: 10.69 kB / 1.059 GB, free: 52.78 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004397/0.7786, allocations: 0.8899 MB / 1.06 GB, free: 52.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.7808, allocations: 1.612 MB / 1.062 GB, free: 52.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.7809, allocations: 136.1 kB / 1.062 GB, free: 52.12 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.7811, allocations: 190.8 kB / 1.062 GB, free: 52.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/0.7842, allocations: 2.721 MB / 1.065 GB, free: 51 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.7842, allocations: 0 / 1.065 GB, free: 51 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.7844, allocations: 78.34 kB / 1.065 GB, free: 51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.7844, allocations: 40.94 kB / 1.065 GB, free: 51 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.7873, allocations: 2.038 MB / 1.067 GB, free: 50.99 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.7947, allocations: 4.478 MB / 1.071 GB, free: 50.09 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.7979, allocations: 1.742 MB / 1.073 GB, free: 50.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.7992, allocations: 0.7204 MB / 1.073 GB, free: 50.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/0.7996, allocations: 127.4 kB / 1.074 GB, free: 50.04 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/0.8013, allocations: 1.624 MB / 1.075 GB, free: 49.21 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.126e-06/0.8013, allocations: 1.062 kB / 1.075 GB, free: 49.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.006227/0.8075, allocations: 2.668 MB / 1.078 GB, free: 49 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.8076, allocations: 209.1 kB / 1.078 GB, free: 48.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.8096, allocations: 1.706 MB / 1.08 GB, free: 48.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.8097, allocations: 65.64 kB / 1.08 GB, free: 48.56 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.8102, allocations: 0.8535 MB / 1.081 GB, free: 48.24 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.8106, allocations: 0.5138 MB / 1.081 GB, free: 47.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/0.811, allocations: 273.4 kB / 1.081 GB, free: 47.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.811, allocations: 356.1 kB / 1.082 GB, free: 47.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.8121, allocations: 0.6181 MB / 1.082 GB, free: 47.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.8134, allocations: 1.266 MB / 1.083 GB, free: 46.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.8156, allocations: 1.385 MB / 1.085 GB, free: 46.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.8156, allocations: 0.9062 kB / 1.085 GB, free: 46.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00418/0.8198, allocations: 1.951 MB / 1.087 GB, free: 46.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8198, allocations: 7.188 kB / 1.087 GB, free: 46.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.8199, allocations: 2.156 kB / 1.087 GB, free: 46.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.8214, allocations: 289.2 kB / 1.087 GB, free: 46.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.823, allocations: 337.7 kB / 1.087 GB, free: 46.56 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/0.8276, allocations: 6.693 MB / 1.094 GB, free: 40.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.829, allocations: 157.5 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.8292, allocations: 60.53 kB / 1.094 GB, free: 40.55 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (165): * Single equations (assignments): 160 * 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.000886/0.8301, allocations: 0.489 MB / 1.095 GB, free: 40.44 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005584/0.8306, allocations: 226.1 kB / 1.095 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.8352, allocations: 2.148 MB / 1.097 GB, free: 40.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.8352, allocations: 21.12 kB / 1.097 GB, free: 40.17 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8352, allocations: 2.812 kB / 1.097 GB, free: 40.17 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.8352, allocations: 9.562 kB / 1.097 GB, free: 40.17 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.8423, allocations: 3.736 MB / 1.101 GB, free: 39.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8423, allocations: 0.9375 kB / 1.101 GB, free: 39.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.8438, allocations: 321.5 kB / 1.101 GB, free: 39.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.8452, allocations: 275.3 kB / 1.101 GB, free: 39.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.8453, allocations: 39.19 kB / 1.101 GB, free: 39.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.8496, allocations: 6.728 MB / 1.108 GB, free: 33.67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8496, allocations: 0 / 1.108 GB, free: 33.67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.8539, allocations: 2.09 MB / 1.11 GB, free: 33.34 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009813/0.8548, allocations: 398.4 kB / 1.11 GB, free: 33.22 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.8552, allocations: 34.34 kB / 1.11 GB, free: 33.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.8566, allocations: 101.3 kB / 1.11 GB, free: 33.22 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.8569, allocations: 126 kB / 1.11 GB, free: 33.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/0.8571, allocations: 71.94 kB / 1.11 GB, free: 33.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001873/0.8589, allocations: 1.218 MB / 1.112 GB, free: 33.11 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.8589, allocations: 1.75 kB / 1.112 GB, free: 33.11 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002084/0.861, allocations: 0.7219 MB / 1.112 GB, free: 32.98 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002948/0.864, allocations: 0.8262 MB / 1.113 GB, free: 32.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003969/0.8679, allocations: 2.096 MB / 1.115 GB, free: 32.19 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.366e-05/0.868, allocations: 7.5 kB / 1.115 GB, free: 32.19 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/0.8701, allocations: 1.378 MB / 1.117 GB, free: 31.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/0.8729, allocations: 0.5789 MB / 1.117 GB, free: 31.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007887/0.8808, allocations: 3.832 MB / 1.121 GB, free: 30.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.8825, allocations: 0.9572 MB / 1.122 GB, free: 29.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00223/0.8847, allocations: 0.4891 MB / 1.122 GB, free: 29.87 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/0.8854, allocations: 176.3 kB / 1.122 GB, free: 29.86 MB / 1.01 GB Notification: Performance of SimCode: time 1.202e-06/0.8854, allocations: 1.969 kB / 1.122 GB, free: 29.86 MB / 1.01 GB Notification: Performance of Templates: time 0.05366/0.9391, allocations: 32.08 MB / 1.154 GB, free: 26.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.542538622044958]