Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.002424/0.002424, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002826/0.002826, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.979/2.979, allocations: 377.8 MB / 0.6232 GB, free: 8.539 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.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.329e-05/3.527e-05, allocations: 10.25 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.01207/0.01211, allocations: 4.973 MB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2359/0.248, allocations: 146.3 MB / 0.9585 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000937/0.2489, allocations: 19.88 kB / 0.9585 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.2496, allocations: 210.1 kB / 0.9587 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.2517, allocations: 0.594 MB / 0.9593 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.2539, allocations: 0.8647 MB / 0.9602 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002459/0.2564, allocations: 1.525 MB / 0.9617 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.2574, allocations: 406.2 kB / 0.962 GB, free: 6.699 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.2589, allocations: 0.7602 MB / 0.9628 GB, free: 5.938 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/0.2596, allocations: 429 kB / 0.9632 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.2598, allocations: 128 kB / 0.9633 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.261, allocations: 0.4915 MB / 0.9638 GB, free: 4.902 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.2614, allocations: 326.9 kB / 0.9641 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.262, allocations: 407 kB / 0.9645 GB, free: 4.184 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.2649, allocations: 1.846 MB / 0.9663 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2649, allocations: 0 / 0.9663 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2649, allocations: 0 / 0.9663 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.2649, allocations: 0 / 0.9663 GB, free: 2.328 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003239/0.2682, allocations: 1.652 MB / 0.9679 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2682, allocations: 12.03 kB / 0.9679 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.2698, allocations: 335.5 kB / 0.9682 GB, free: 300 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.2713, allocations: 0.7482 MB / 0.969 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.2714, allocations: 77.92 kB / 0.9691 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.2716, allocations: 92 kB / 0.9691 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.2736, allocations: 1.239 MB / 0.9703 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.2737, allocations: 4 kB / 0.9704 GB, free: 14 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.2738, allocations: 39.98 kB / 0.9704 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.2738, allocations: 20 kB / 0.9704 GB, free: 13.94 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.2757, allocations: 1.034 MB / 0.9714 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.2817, allocations: 3.078 MB / 0.9744 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.2833, allocations: 0.7418 MB / 0.9751 GB, free: 8.973 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.2839, allocations: 282.6 kB / 0.9754 GB, free: 8.695 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.284, allocations: 28.97 kB / 0.9754 GB, free: 8.668 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.2851, allocations: 0.6238 MB / 0.9761 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 7.013e-06/0.2851, allocations: 4 kB / 0.9761 GB, free: 7.992 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.00361/0.2887, allocations: 1.105 MB / 0.9771 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.2888, allocations: 200.9 kB / 0.9773 GB, free: 6.637 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.29, allocations: 0.7769 MB / 0.9781 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.2901, allocations: 49.7 kB / 0.9781 GB, free: 5.789 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.2907, allocations: 500 kB / 0.9786 GB, free: 5.293 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006547/0.2913, allocations: 329.4 kB / 0.9789 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.2917, allocations: 220.2 kB / 0.9791 GB, free: 4.746 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004458/0.2921, allocations: 0.621 MB / 0.9797 GB, free: 4.113 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.2927, allocations: 253.8 kB / 0.98 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008561/0.2936, allocations: 0.5095 MB / 0.9805 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2948, allocations: 0.6046 MB / 0.9811 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2948, allocations: 0 / 0.9811 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002334/0.2971, allocations: 0.8794 MB / 0.9819 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2972, allocations: 8 kB / 0.9819 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2972, allocations: 0 / 0.9819 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.2982, allocations: 143.6 kB / 0.9821 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008164/0.299, allocations: 187.8 kB / 0.9823 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.3019, allocations: 2.034 MB / 0.9842 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.3025, allocations: 84.61 kB / 0.9843 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.3026, allocations: 35.98 kB / 0.9844 GB, free: 15.18 MB / 0.948 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 (110): * Single equations (assignments): 109 * 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.0005166/0.3032, allocations: 287 kB / 0.9846 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.3034, allocations: 119.5 kB / 0.9847 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.306, allocations: 1.026 MB / 0.9857 GB, free: 13.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.306, allocations: 11.94 kB / 0.9858 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3061, allocations: 4 kB / 0.9858 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3061, allocations: 7.984 kB / 0.9858 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004575/0.3106, allocations: 2.043 MB / 0.9878 GB, free: 11.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.3106, allocations: 7.938 kB / 0.9878 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009034/0.3115, allocations: 155.8 kB / 0.9879 GB, free: 11.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008146/0.3124, allocations: 115.6 kB / 0.988 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.3124, allocations: 27.97 kB / 0.9881 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.315, allocations: 2.058 MB / 0.9901 GB, free: 9.113 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.315, allocations: 0 / 0.9901 GB, free: 9.113 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.3181, allocations: 1.41 MB / 0.9914 GB, free: 7.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00051/0.3186, allocations: 199.2 kB / 0.9916 GB, free: 7.484 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.3188, allocations: 31.88 kB / 0.9917 GB, free: 7.453 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.3193, allocations: 52.05 kB / 0.9917 GB, free: 7.402 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.3195, allocations: 80.84 kB / 0.9918 GB, free: 7.324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.3196, allocations: 35.98 kB / 0.9918 GB, free: 7.289 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007319/0.3204, allocations: 0.4951 MB / 0.9923 GB, free: 6.797 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3204, allocations: 0 / 0.9923 GB, free: 6.797 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001079/0.3214, allocations: 347.1 kB / 0.9926 GB, free: 6.457 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (101): * Single equations (assignments): 90 * 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.003744/0.3252, allocations: 0.6658 MB / 0.9933 GB, free: 5.992 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002117/0.3273, allocations: 0.8944 MB / 0.9942 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3273, allocations: 0 / 0.9942 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.3284, allocations: 0.5871 MB / 0.9947 GB, free: 4.465 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.3299, allocations: 322.5 kB / 0.995 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.3334, allocations: 1.763 MB / 0.9968 GB, free: 2.371 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.334, allocations: 449.3 kB / 0.9972 GB, free: 1.898 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008044/0.3348, allocations: 258.8 kB / 0.9974 GB, free: 1.641 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.3351, allocations: 112.5 kB / 0.9975 GB, free: 1.531 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/0.3351, allocations: 0 / 0.9975 GB, free: 1.531 MB / 0.948 GB Notification: Performance of Templates: time 0.03773/0.3728, allocations: 15.99 MB / 1.013 GB, free: 1.828 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.077878979034722]