Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001323/0.001323, allocations: 88.72 kB / 19.44 MB, free: 360 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.00147/0.00147, allocations: 157.6 kB / 22.75 MB, free: 1.688 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.539/1.539, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.189/3.189, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.579e-05, allocations: 4.703 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005544/0.00557, allocations: 3.042 MB / 0.8805 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003622/0.009191, allocations: 1.872 MB / 0.8824 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.009351, allocations: 7.938 kB / 0.8824 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.01037, allocations: 278.8 kB / 0.8826 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.01096, allocations: 200.8 kB / 0.8828 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.0117, allocations: 260.7 kB / 0.8831 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.01219, allocations: 338.7 kB / 0.8834 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.01253, allocations: 149.1 kB / 0.8835 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.01291, allocations: 190.9 kB / 0.8837 GB, free: 196 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.01324, allocations: 139.6 kB / 0.8839 GB, free: 56 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.01329, allocations: 20 kB / 0.8839 GB, free: 36 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007325/0.01402, allocations: 379 kB / 0.8842 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.01414, allocations: 91.73 kB / 0.8843 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.01427, allocations: 79.83 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.01535, allocations: 0.5219 MB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01535, allocations: 0 / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01536, allocations: 4.875 kB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.01536, allocations: 0 / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001031/0.0164, allocations: 0.4913 MB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.01643, allocations: 12.03 kB / 0.8854 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.01742, allocations: 172.5 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.01783, allocations: 213.7 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.01786, allocations: 12.88 kB / 0.8858 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.0179, allocations: 24.36 kB / 0.8858 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.01859, allocations: 405 kB / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.0186, allocations: 192 / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.01863, allocations: 8.375 kB / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.01869, allocations: 28.42 kB / 0.8862 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.01922, allocations: 289.8 kB / 0.8865 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.02144, allocations: 1.241 MB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.02195, allocations: 229.1 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.02214, allocations: 105.6 kB / 0.888 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.46e-05/0.02222, allocations: 12 kB / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.02227, allocations: 38.56 kB / 0.8881 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.02227, allocations: 0 / 0.8881 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.002758/0.02503, allocations: 0.9126 MB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.02509, allocations: 81.11 kB / 0.8891 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.02535, allocations: 208.3 kB / 0.8893 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.02539, allocations: 29.7 kB / 0.8893 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.02554, allocations: 176.5 kB / 0.8894 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.242e-05/0.02563, allocations: 83.27 kB / 0.8895 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02575, allocations: 61.66 kB / 0.8896 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.02594, allocations: 338.8 kB / 0.8899 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.02617, allocations: 135.9 kB / 0.89 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.02649, allocations: 206.7 kB / 0.8902 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.02705, allocations: 365.2 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.02706, allocations: 3.984 kB / 0.8906 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001045/0.0281, allocations: 0.5123 MB / 0.8911 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.02812, allocations: 6.188 kB / 0.8911 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02813, allocations: 7.984 kB / 0.8911 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007455/0.02888, allocations: 183.3 kB / 0.8913 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.02914, allocations: 59.91 kB / 0.8913 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.03327, allocations: 3.934 MB / 0.8952 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.03348, allocations: 23.91 kB / 0.8952 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.03351, allocations: 8 kB / 0.8952 GB, free: 3.832 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002068/0.03372, allocations: 170.1 kB / 0.8954 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.03381, allocations: 31.86 kB / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009859/0.0348, allocations: 466.6 kB / 0.8958 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.0348, allocations: 4 kB / 0.8958 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.03481, allocations: 4 kB / 0.8959 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.03481, allocations: 3.984 kB / 0.8959 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.03657, allocations: 0.8902 MB / 0.8967 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.03658, allocations: 8 kB / 0.8967 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.03673, allocations: 35.91 kB / 0.8968 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.03736, allocations: 175.4 kB / 0.8969 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.03738, allocations: 4 kB / 0.8969 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003984/0.04137, allocations: 3.907 MB / 0.9008 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.04137, allocations: 7.938 kB / 0.9008 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.04236, allocations: 0.6259 MB / 0.9014 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.04249, allocations: 47.83 kB / 0.9014 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.04253, allocations: 8 kB / 0.9014 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.04277, allocations: 23.97 kB / 0.9014 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.04283, allocations: 23.91 kB / 0.9015 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.04285, allocations: 11.94 kB / 0.9015 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001759/0.04303, allocations: 160.3 kB / 0.9016 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.04303, allocations: 0 / 0.9016 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005559/0.04359, allocations: 91.92 kB / 0.9017 GB, free: 12.73 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.04384, allocations: 143 kB / 0.9019 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.04495, allocations: 0.5751 MB / 0.9024 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.04495, allocations: 0 / 0.9024 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006212/0.04557, allocations: 390 kB / 0.9028 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.04612, allocations: 54.77 kB / 0.9028 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.04733, allocations: 0.6134 MB / 0.9034 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.04756, allocations: 173.1 kB / 0.9036 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.04774, allocations: 62.22 kB / 0.9037 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.0478, allocations: 20.5 kB / 0.9037 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.0478, allocations: 0 / 0.9037 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.009943/0.05775, allocations: 4.191 MB / 0.9078 GB, free: 6.457 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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: 8.253820220008492]