Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001864/0.001864, allocations: 84.05 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002264/0.002264, allocations: 158.1 kB / 23.01 MB, free: 4.961 MB / 14.72 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.499/1.499, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.789/2.789, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.89 kB / 0.9819 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9971/0.9993, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004057/1.003, allocations: 3.077 MB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00245/1.006, allocations: 1.868 MB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/1.006, allocations: 9.156 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008217/1.007, allocations: 283.8 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003545/1.007, allocations: 194.3 kB / 1.159 GB, free: 29.85 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/1.008, allocations: 259.8 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/1.008, allocations: 318 kB / 1.16 GB, free: 29.58 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/1.008, allocations: 154.2 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/1.008, allocations: 141.8 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/1.008, allocations: 146.7 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/1.009, allocations: 20.41 kB / 1.16 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/1.009, allocations: 381.8 kB / 1.161 GB, free: 29.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/1.009, allocations: 85.7 kB / 1.161 GB, free: 29.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/1.009, allocations: 100.4 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/1.01, allocations: 0.4921 MB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.01, allocations: 4 kB / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.412e-06/1.01, allocations: 0 / 1.161 GB, free: 29.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.01, allocations: 0 / 1.161 GB, free: 29.02 MB / 1.076 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.0007012/1.01, allocations: 0.4946 MB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.01, allocations: 11.34 kB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/1.011, allocations: 109.8 kB / 1.162 GB, free: 28.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/1.011, allocations: 212.2 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.011, allocations: 13.38 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/1.011, allocations: 20.16 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/1.012, allocations: 409 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.012, allocations: 2.906 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.012, allocations: 6.938 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/1.012, allocations: 25.58 kB / 1.162 GB, free: 28.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/1.012, allocations: 287.9 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/1.014, allocations: 1.232 MB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/1.014, allocations: 240.9 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/1.014, allocations: 101.6 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/1.014, allocations: 17.03 kB / 1.164 GB, free: 26.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.014, allocations: 41.19 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/1.014, allocations: 3.938 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002079/1.017, allocations: 0.8826 MB / 1.165 GB, free: 26.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/1.017, allocations: 80.11 kB / 1.165 GB, free: 26.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/1.017, allocations: 219.3 kB / 1.165 GB, free: 26.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/1.017, allocations: 28.52 kB / 1.165 GB, free: 26.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/1.017, allocations: 177.9 kB / 1.166 GB, free: 26.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/1.017, allocations: 81.77 kB / 1.166 GB, free: 26.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/1.017, allocations: 62.58 kB / 1.166 GB, free: 26.06 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/1.017, allocations: 331.4 kB / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.017, allocations: 130.7 kB / 1.166 GB, free: 25.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/1.017, allocations: 206.8 kB / 1.166 GB, free: 25.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/1.018, allocations: 383.7 kB / 1.167 GB, free: 25.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/1.018, allocations: 0 / 1.167 GB, free: 25.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006722/1.018, allocations: 0.5174 MB / 1.167 GB, free: 25.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.018, allocations: 5.25 kB / 1.167 GB, free: 25.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.018, allocations: 2.625 kB / 1.167 GB, free: 25.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/1.019, allocations: 154.7 kB / 1.167 GB, free: 25.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/1.019, allocations: 61.25 kB / 1.168 GB, free: 25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/1.021, allocations: 3.93 MB / 1.171 GB, free: 21.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/1.021, allocations: 15.61 kB / 1.171 GB, free: 21.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/1.021, allocations: 14.06 kB / 1.171 GB, free: 21.31 MB / 1.076 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.000116/1.021, allocations: 163.6 kB / 1.172 GB, free: 21.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/1.021, allocations: 27.64 kB / 1.172 GB, free: 21.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006783/1.022, allocations: 470.4 kB / 1.172 GB, free: 20.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.022, allocations: 6.688 kB / 1.172 GB, free: 20.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.022, allocations: 6.562 kB / 1.172 GB, free: 20.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.022, allocations: 7.453 kB / 1.172 GB, free: 20.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/1.023, allocations: 0.8913 MB / 1.173 GB, free: 20.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.023, allocations: 2.625 kB / 1.173 GB, free: 20.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.023, allocations: 35.62 kB / 1.173 GB, free: 20.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/1.024, allocations: 143.2 kB / 1.173 GB, free: 20.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/1.024, allocations: 13.31 kB / 1.173 GB, free: 20.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.026, allocations: 3.895 MB / 1.177 GB, free: 16.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.026, allocations: 6.047 kB / 1.177 GB, free: 16.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/1.026, allocations: 0.6208 MB / 1.178 GB, free: 16.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.026, allocations: 52 kB / 1.178 GB, free: 16.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/1.026, allocations: 11.72 kB / 1.178 GB, free: 16.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/1.027, allocations: 20.58 kB / 1.178 GB, free: 16.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/1.027, allocations: 33.25 kB / 1.178 GB, free: 16.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/1.027, allocations: 8.188 kB / 1.178 GB, free: 16.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001448/1.027, allocations: 159.1 kB / 1.178 GB, free: 16.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.027, allocations: 0 / 1.178 GB, free: 16.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005573/1.027, allocations: 95.36 kB / 1.178 GB, free: 16 MB / 1.076 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.000182/1.028, allocations: 138.4 kB / 1.178 GB, free: 15.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007898/1.028, allocations: 0.5691 MB / 1.179 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.028, allocations: 0 / 1.179 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004106/1.029, allocations: 389.4 kB / 1.179 GB, free: 15.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/1.029, allocations: 47.59 kB / 1.179 GB, free: 15.26 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/1.03, allocations: 0.6332 MB / 1.18 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/1.03, allocations: 175.8 kB / 1.18 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001431/1.03, allocations: 54.34 kB / 1.18 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/1.031, allocations: 25.22 kB / 1.18 GB, free: 14.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.031, allocations: 0 / 1.18 GB, free: 14.75 MB / 1.076 GB Notification: Performance of Templates: time 0.008712/1.039, allocations: 4.154 MB / 1.184 GB, free: 14.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.070662230951712]