Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001506/0.001506, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001617/0.001617, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.882/2.882, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.802e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2215/0.2215, allocations: 155.7 MB / 0.9629 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01851/0.24, allocations: 10.33 MB / 0.973 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.2413, allocations: 43.62 kB / 0.973 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.2428, allocations: 416.6 kB / 0.9734 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.2466, allocations: 1.15 MB / 0.9745 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.2514, allocations: 1.791 MB / 0.9763 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.2551, allocations: 2.462 MB / 0.9787 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.2573, allocations: 1.152 MB / 0.9798 GB, free: 4.438 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005121/0.2625, allocations: 1.9 MB / 0.9817 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.2638, allocations: 0.6738 MB / 0.9823 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003038/0.2641, allocations: 164 kB / 0.9825 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.2669, allocations: 1.29 MB / 0.9837 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0006005/0.2675, allocations: 486.4 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008164/0.2683, allocations: 0.5534 MB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.004274/0.2726, allocations: 2.804 MB / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2726, allocations: 0 / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2726, allocations: 0 / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.2726, allocations: 0 / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.003727/0.2764, allocations: 1.903 MB / 0.9893 GB, free: 10.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2764, allocations: 12.03 kB / 0.9893 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.2794, allocations: 0.5718 MB / 0.9899 GB, free: 10.08 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.2814, allocations: 0.9632 MB / 0.9908 GB, free: 9.086 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.2815, allocations: 94.38 kB / 0.9909 GB, free: 8.992 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.2818, allocations: 135.9 kB / 0.9911 GB, free: 8.859 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.2847, allocations: 1.703 MB / 0.9927 GB, free: 7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.2848, allocations: 4 kB / 0.9927 GB, free: 6.996 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.2849, allocations: 48 kB / 0.9928 GB, free: 6.949 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.2849, allocations: 28 kB / 0.9928 GB, free: 6.922 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.2877, allocations: 1.41 MB / 0.9942 GB, free: 5.504 MB / 0.948 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.006828/0.2945, allocations: 3.054 MB / 0.9972 GB, free: 2.391 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.2971, allocations: 1.128 MB / 0.9983 GB, free: 1.262 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008969/0.298, allocations: 433.2 kB / 0.9987 GB, free: 0.8359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006643/0.2987, allocations: 116.9 kB / 0.9988 GB, free: 0.7227 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001594/0.3003, allocations: 0.9099 MB / 0.9997 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=114): time 3.487e-06/0.3003, allocations: 0 / 0.9997 GB, free: 15.74 MB / 0.9636 GB Notification: Performance of matching and sorting (n=114): time 0.004909/0.3052, allocations: 1.609 MB / 1.001 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/0.3054, allocations: 204.9 kB / 1.001 GB, free: 13.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3068, allocations: 0.7511 MB / 1.002 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.3069, allocations: 57.69 kB / 1.002 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/0.3076, allocations: 0.5365 MB / 1.003 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.308, allocations: 380.7 kB / 1.003 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.3084, allocations: 238.8 kB / 1.003 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.3086, allocations: 345.9 kB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.3096, allocations: 406.4 kB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3109, allocations: 0.7119 MB / 1.005 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.3129, allocations: 0.9163 MB / 1.006 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.3129, allocations: 4 kB / 1.006 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00327/0.3162, allocations: 1.282 MB / 1.007 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3162, allocations: 8 kB / 1.007 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3162, allocations: 3.984 kB / 1.007 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.3173, allocations: 132.8 kB / 1.007 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3184, allocations: 247.5 kB / 1.007 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.3209, allocations: 1.512 MB / 1.009 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.322, allocations: 119.3 kB / 1.009 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.3222, allocations: 51.91 kB / 1.009 GB, free: 5.969 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (141): * Single equations (assignments): 140 * 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.0007196/0.3229, allocations: 340.2 kB / 1.009 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/0.3233, allocations: 151.3 kB / 1.009 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.327, allocations: 1.539 MB / 1.011 GB, free: 3.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.327, allocations: 12 kB / 1.011 GB, free: 3.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.327, allocations: 4 kB / 1.011 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.327, allocations: 7.969 kB / 1.011 GB, free: 3.898 MB / 0.9636 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 postOpt removeSimpleEquations (simulation): time 0.005904/0.3329, allocations: 2.52 MB / 1.013 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.333, allocations: 0 / 1.013 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.334, allocations: 215.9 kB / 1.014 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008027/0.3348, allocations: 116.8 kB / 1.014 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.3349, allocations: 39.91 kB / 1.014 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.3372, allocations: 1.547 MB / 1.015 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.3372, allocations: 7.938 kB / 1.015 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.3415, allocations: 1.942 MB / 1.017 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006879/0.3422, allocations: 263 kB / 1.017 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.3424, allocations: 35.98 kB / 1.017 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.3434, allocations: 73.89 kB / 1.018 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.3437, allocations: 96.77 kB / 1.018 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.3438, allocations: 47.97 kB / 1.018 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009978/0.3448, allocations: 0.5341 MB / 1.018 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3448, allocations: 0 / 1.018 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00157/0.3464, allocations: 498.7 kB / 1.019 GB, free: 11.77 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (122): * Single equations (assignments): 111 * 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.002863/0.3492, allocations: 0.7529 MB / 1.019 GB, free: 11.22 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.3519, allocations: 1.114 MB / 1.02 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.3519, allocations: 3.859 kB / 1.02 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.3533, allocations: 0.6366 MB / 1.021 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.3554, allocations: 499.2 kB / 1.022 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/0.3605, allocations: 2.426 MB / 1.024 GB, free: 6.496 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008318/0.3613, allocations: 0.5822 MB / 1.025 GB, free: 5.883 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001271/0.3626, allocations: 356.8 kB / 1.025 GB, free: 5.531 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.3631, allocations: 136.4 kB / 1.025 GB, free: 5.398 MB / 0.9792 GB Notification: Performance of SimCode: time 8.22e-07/0.3631, allocations: 3.938 kB / 1.025 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of Templates: time 0.3816/0.7446, allocations: 22.69 MB / 1.047 GB, free: 274.4 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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: 9.828176265000366]