Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001938/0.001938, allocations: 84.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.002292/0.002292, allocations: 157.7 kB / 22.76 MB, free: 1.68 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.474/1.474, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.219/3.219, allocations: 429.6 MB / 0.673 GB, free: 3.855 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.269e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2468/0.2468, allocations: 155.3 MB / 1.029 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03117/0.278, allocations: 14.76 MB / 1.044 GB, free: 11.79 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.2802, allocations: 35.69 kB / 1.044 GB, free: 11.75 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.2833, allocations: 0.6087 MB / 1.044 GB, free: 11.14 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.007918/0.2912, allocations: 1.709 MB / 1.046 GB, free: 9.422 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.007194/0.2984, allocations: 1.721 MB / 1.048 GB, free: 7.695 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.006304/0.3047, allocations: 3.014 MB / 1.051 GB, free: 4.672 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004106/0.3088, allocations: 1.445 MB / 1.052 GB, free: 3.176 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009319/0.3181, allocations: 2.249 MB / 1.054 GB, free: 1.008 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.3209, allocations: 0.8685 MB / 1.055 GB, free: 140 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.5449/0.8658, allocations: 207.8 kB / 1.055 GB, free: 50.73 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.869, allocations: 1.282 MB / 1.057 GB, free: 50.73 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0008164/0.8698, allocations: 0.6061 MB / 1.057 GB, free: 50.73 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.8714, allocations: 0.729 MB / 1.058 GB, free: 50.73 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004828/0.8762, allocations: 3.29 MB / 1.061 GB, free: 50.64 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.8763, allocations: 0 / 1.061 GB, free: 50.64 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8763, allocations: 0 / 1.061 GB, free: 50.64 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.06e-05/0.8763, allocations: 1.375 kB / 1.061 GB, free: 50.64 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004011/0.8803, allocations: 2.329 MB / 1.063 GB, free: 49.57 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.8804, allocations: 11.31 kB / 1.063 GB, free: 49.57 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/0.885, allocations: 0.8442 MB / 1.064 GB, free: 49.37 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.887, allocations: 1.127 MB / 1.065 GB, free: 49.04 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/0.8871, allocations: 127.3 kB / 1.065 GB, free: 49.03 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.8873, allocations: 176.8 kB / 1.066 GB, free: 49.03 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.8905, allocations: 2.504 MB / 1.068 GB, free: 48.01 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.8906, allocations: 0 / 1.068 GB, free: 48.01 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.8908, allocations: 75.06 kB / 1.068 GB, free: 48.01 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.8908, allocations: 46.08 kB / 1.068 GB, free: 48.01 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.8939, allocations: 1.832 MB / 1.07 GB, free: 47.99 MB / 1.01 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.007645/0.9015, allocations: 4.6 MB / 1.074 GB, free: 46.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.9045, allocations: 1.442 MB / 1.076 GB, free: 46.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.9055, allocations: 0.5861 MB / 1.076 GB, free: 46.41 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003545/0.9059, allocations: 88.05 kB / 1.076 GB, free: 46.41 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.9075, allocations: 1.357 MB / 1.078 GB, free: 45.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 3.076e-06/0.9075, allocations: 2.109 kB / 1.078 GB, free: 45.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.005518/0.9131, allocations: 2.05 MB / 1.08 GB, free: 45.58 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.9131, allocations: 209.3 kB / 1.08 GB, free: 45.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.9143, allocations: 0.8395 MB / 1.081 GB, free: 45.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.9145, allocations: 60.67 kB / 1.081 GB, free: 45.17 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.915, allocations: 0.69 MB / 1.082 GB, free: 44.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.9154, allocations: 460.4 kB / 1.082 GB, free: 44.54 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.9158, allocations: 247.9 kB / 1.082 GB, free: 44.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.9159, allocations: 353.6 kB / 1.083 GB, free: 44.22 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.917, allocations: 0.5148 MB / 1.083 GB, free: 44.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.9182, allocations: 0.8806 MB / 1.084 GB, free: 43.86 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.9205, allocations: 1.169 MB / 1.085 GB, free: 43.77 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.9205, allocations: 2.531 kB / 1.085 GB, free: 43.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00383/0.9244, allocations: 1.564 MB / 1.087 GB, free: 43.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.9244, allocations: 6.75 kB / 1.087 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.9244, allocations: 1.781 kB / 1.087 GB, free: 43.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.9254, allocations: 139.8 kB / 1.087 GB, free: 43.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/0.9271, allocations: 317.5 kB / 1.087 GB, free: 43.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.9291, allocations: 1.521 MB / 1.088 GB, free: 42.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.9307, allocations: 141.3 kB / 1.089 GB, free: 42.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.9309, allocations: 59.31 kB / 1.089 GB, free: 42.36 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009432/0.9319, allocations: 395.7 kB / 1.089 GB, free: 42.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.9324, allocations: 172.8 kB / 1.089 GB, free: 42.17 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/0.9367, allocations: 1.72 MB / 1.091 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.9367, allocations: 19 kB / 1.091 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.9367, allocations: 1.094 kB / 1.091 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.9368, allocations: 7.938 kB / 1.091 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006916/0.9437, allocations: 3.064 MB / 1.094 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9437, allocations: 0 / 1.094 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.9452, allocations: 291 kB / 1.094 GB, free: 41.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007683/0.9459, allocations: 118.7 kB / 1.094 GB, free: 41.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.9461, allocations: 39.45 kB / 1.094 GB, free: 41.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.9478, allocations: 1.553 MB / 1.096 GB, free: 40.43 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9478, allocations: 1.094 kB / 1.096 GB, free: 40.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/0.9535, allocations: 2.421 MB / 1.098 GB, free: 40.16 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/0.9544, allocations: 325.9 kB / 1.099 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.9547, allocations: 35.94 kB / 1.099 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.9561, allocations: 105.4 kB / 1.099 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.9564, allocations: 100.3 kB / 1.099 GB, free: 40.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.9566, allocations: 63.62 kB / 1.099 GB, free: 40.08 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00107/0.9576, allocations: 0.5797 MB / 1.099 GB, free: 39.97 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.9576, allocations: 0 / 1.099 GB, free: 39.97 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002058/0.9597, allocations: 0.5899 MB / 1.1 GB, free: 39.86 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002915/0.9626, allocations: 0.7498 MB / 1.101 GB, free: 39.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003702/0.9663, allocations: 1.383 MB / 1.102 GB, free: 39.53 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.9663, allocations: 2.656 kB / 1.102 GB, free: 39.53 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.9682, allocations: 0.7766 MB / 1.103 GB, free: 39.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/0.971, allocations: 0.532 MB / 1.103 GB, free: 39.36 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006932/0.978, allocations: 3 MB / 1.106 GB, free: 38.21 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.9792, allocations: 0.7349 MB / 1.107 GB, free: 38.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002046/0.9813, allocations: 423.5 kB / 1.107 GB, free: 38.02 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.9819, allocations: 156.3 kB / 1.108 GB, free: 38.01 MB / 1.01 GB Notification: Performance of SimCode: time 1.263e-06/0.9819, allocations: 0 / 1.108 GB, free: 38.01 MB / 1.01 GB Notification: Performance of Templates: time 0.0432/1.025, allocations: 26.37 MB / 1.133 GB, free: 35.13 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.282230262993835]