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.00242/0.00242, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002094/0.002094, allocations: 165.3 kB / 23.55 MB, free: 0.875 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 4.773 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 3.074/3.074, 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.684e-06/1.684e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.908e-05/3.076e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2605/0.2606, allocations: 172.8 MB / 0.9795 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.2809, allocations: 11.17 MB / 0.9904 GB, free: 9.555 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.2822, allocations: 43.62 kB / 0.9905 GB, free: 9.512 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.2836, allocations: 432.5 kB / 0.9909 GB, free: 9.086 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.2871, allocations: 1.15 MB / 0.992 GB, free: 7.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.2922, allocations: 1.787 MB / 0.9938 GB, free: 6.137 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003791/0.296, allocations: 2.458 MB / 0.9962 GB, free: 3.668 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.2981, allocations: 1.156 MB / 0.9973 GB, free: 2.477 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005224/0.3033, allocations: 1.919 MB / 0.9992 GB, free: 0.6094 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3046, allocations: 0.6699 MB / 0.9998 GB, free: 15.94 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.3049, allocations: 164 kB / 1 GB, free: 15.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.3081, allocations: 1.286 MB / 1.001 GB, free: 14.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005572/0.3086, allocations: 482.5 kB / 1.002 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0008155/0.3094, allocations: 0.5495 MB / 1.002 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.3146, allocations: 2.8 MB / 1.005 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.3147, allocations: 4 kB / 1.005 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.158e-06/0.3147, allocations: 3.984 kB / 1.005 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.683e-05/0.3147, allocations: 4 kB / 1.005 GB, free: 10.64 MB / 0.9636 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.004083/0.3188, allocations: 2.105 MB / 1.007 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3188, allocations: 12.03 kB / 1.007 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.3217, allocations: 0.5601 MB / 1.008 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.3238, allocations: 0.9581 MB / 1.009 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.3239, allocations: 94.36 kB / 1.009 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.3242, allocations: 135.9 kB / 1.009 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.3271, allocations: 1.671 MB / 1.01 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.3271, allocations: 3.938 kB / 1.01 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.3272, allocations: 52 kB / 1.01 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.3273, allocations: 28 kB / 1.01 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.3298, allocations: 1.266 MB / 1.012 GB, free: 3.504 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 preOpt removeSimpleEquations (simulation): time 0.007866/0.3377, allocations: 3.955 MB / 1.016 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.3399, allocations: 0.9918 MB / 1.017 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/0.3406, allocations: 374.5 kB / 1.017 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006071/0.3412, allocations: 108.9 kB / 1.017 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.3428, allocations: 0.8872 MB / 1.018 GB, free: 13 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=114): time 3.557e-06/0.3428, allocations: 0 / 1.018 GB, free: 13 MB / 0.9792 GB Notification: Performance of matching and sorting (n=114): time 0.004299/0.3471, allocations: 1.409 MB / 1.019 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.3472, allocations: 204.9 kB / 1.019 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3487, allocations: 0.933 MB / 1.02 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.3488, allocations: 49.7 kB / 1.02 GB, free: 10.34 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/0.3496, allocations: 0.629 MB / 1.021 GB, free: 9.699 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006681/0.3502, allocations: 420.7 kB / 1.021 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/0.3508, allocations: 276.5 kB / 1.022 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000372/0.3511, allocations: 0.5511 MB / 1.022 GB, free: 8.449 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007556/0.3519, allocations: 326.5 kB / 1.022 GB, free: 8.129 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.353, allocations: 0.691 MB / 1.023 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.3546, allocations: 0.8041 MB / 1.024 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.3546, allocations: 0 / 1.024 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002889/0.3575, allocations: 1.144 MB / 1.025 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3576, allocations: 9.25 kB / 1.025 GB, free: 5.367 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3576, allocations: 0 / 1.025 GB, free: 5.367 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3586, allocations: 139.7 kB / 1.025 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3597, allocations: 255.7 kB / 1.025 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.3626, allocations: 2.042 MB / 1.027 GB, free: 2.809 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.3636, allocations: 99.38 kB / 1.028 GB, free: 2.711 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.3638, allocations: 56.02 kB / 1.028 GB, free: 2.656 MB / 0.9792 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.0007551/0.3645, allocations: 319 kB / 1.028 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.3649, allocations: 147.3 kB / 1.028 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003373/0.3682, allocations: 1.5 MB / 1.03 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.3682, allocations: 12 kB / 1.03 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.3682, allocations: 4 kB / 1.03 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.3683, allocations: 7.969 kB / 1.03 GB, free: 0.6328 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005734/0.374, allocations: 2.638 MB / 1.032 GB, free: 13.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.374, allocations: 4 kB / 1.032 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009673/0.375, allocations: 203.7 kB / 1.032 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/0.3758, allocations: 127.8 kB / 1.032 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.3759, allocations: 35.91 kB / 1.032 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.3785, allocations: 2.078 MB / 1.034 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3785, allocations: 0 / 1.034 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003923/0.3825, allocations: 1.758 MB / 1.036 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/0.3831, allocations: 262.8 kB / 1.036 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.3833, allocations: 27.98 kB / 1.036 GB, free: 9.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007642/0.3841, allocations: 66.2 kB / 1.037 GB, free: 9.191 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.3843, allocations: 100.7 kB / 1.037 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.3844, allocations: 43.97 kB / 1.037 GB, free: 9.051 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009447/0.3854, allocations: 0.5966 MB / 1.037 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3854, allocations: 0 / 1.037 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001565/0.387, allocations: 494.7 kB / 1.038 GB, free: 7.973 MB / 0.9948 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.003806/0.3908, allocations: 0.7569 MB / 1.038 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002461/0.3932, allocations: 1.096 MB / 1.04 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3932, allocations: 0 / 1.04 GB, free: 6.297 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.3945, allocations: 0.6922 MB / 1.04 GB, free: 5.582 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/0.3967, allocations: 489.2 kB / 1.041 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.4013, allocations: 2.346 MB / 1.043 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007158/0.4021, allocations: 0.5721 MB / 1.044 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001111/0.4032, allocations: 332.8 kB / 1.044 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.4036, allocations: 136.4 kB / 1.044 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/0.4036, allocations: 4 kB / 1.044 GB, free: 1.641 MB / 0.9948 GB Notification: Performance of Templates: time 0.4249/0.8285, allocations: 22.7 MB / 1.066 GB, free: 270.7 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] 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: 10.34714906103909]