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.002573/0.002573, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003083/0.003083, allocations: 157.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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.047/3.047, allocations: 377.8 MB / 0.6232 GB, free: 8.523 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.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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.007e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005786/0.005816, allocations: 3.133 MB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.009473, allocations: 1.945 MB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.009577, allocations: 11.94 kB / 0.8158 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.01058, allocations: 291.9 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.01108, allocations: 204.5 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.01174, allocations: 252.8 kB / 0.8165 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.01217, allocations: 330.8 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.01247, allocations: 157 kB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.01278, allocations: 188.7 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.01307, allocations: 139.6 kB / 0.8172 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.01312, allocations: 24.84 kB / 0.8173 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.01381, allocations: 379 kB / 0.8176 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.01394, allocations: 96.58 kB / 0.8177 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.01406, allocations: 79.83 kB / 0.8178 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008211/0.01488, allocations: 0.5229 MB / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01488, allocations: 0 / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.22e-07/0.01489, allocations: 0 / 0.8183 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.01489, allocations: 4.859 kB / 0.8183 GB, free: 10.38 MB / 0.7761 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.000922/0.01582, allocations: 0.6021 MB / 0.8189 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.01585, allocations: 12.03 kB / 0.8189 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.01671, allocations: 168.5 kB / 0.8191 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008683/0.01758, allocations: 212.5 kB / 0.8193 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.0176, allocations: 16.86 kB / 0.8193 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.01764, allocations: 28.36 kB / 0.8193 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.01815, allocations: 318.1 kB / 0.8196 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.01816, allocations: 192 / 0.8196 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.01819, allocations: 8.375 kB / 0.8196 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.01823, allocations: 28.42 kB / 0.8197 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.01858, allocations: 153.8 kB / 0.8198 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.02076, allocations: 1.445 MB / 0.8212 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.02117, allocations: 177.9 kB / 0.8214 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.02128, allocations: 56.36 kB / 0.8214 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/0.02136, allocations: 11.98 kB / 0.8215 GB, free: 6.977 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.0214, allocations: 42.27 kB / 0.8215 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.0214, allocations: 0 / 0.8215 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.001894/0.02329, allocations: 0.5729 MB / 0.8221 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.02336, allocations: 85.09 kB / 0.8221 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.02368, allocations: 295.4 kB / 0.8224 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.02371, allocations: 25.7 kB / 0.8224 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.02388, allocations: 223.2 kB / 0.8227 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.02397, allocations: 87.27 kB / 0.8227 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.0241, allocations: 78.31 kB / 0.8228 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003015/0.0244, allocations: 0.5196 MB / 0.8233 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.02454, allocations: 59.97 kB / 0.8234 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.0248, allocations: 190.3 kB / 0.8236 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.0252, allocations: 254.4 kB / 0.8238 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.0252, allocations: 5.125 kB / 0.8238 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000774/0.02597, allocations: 368.5 kB / 0.8242 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.02599, allocations: 4 kB / 0.8242 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.026, allocations: 4.5 kB / 0.8242 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/0.02664, allocations: 135.2 kB / 0.8243 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.02689, allocations: 59.91 kB / 0.8243 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/0.03141, allocations: 5.151 MB / 0.8294 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.0316, allocations: 15.98 kB / 0.8294 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.03163, allocations: 13.66 kB / 0.8294 GB, free: 14.32 MB / 0.7917 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.0001898/0.03182, allocations: 181.3 kB / 0.8296 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.03191, allocations: 31.86 kB / 0.8296 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007498/0.03266, allocations: 317.9 kB / 0.8299 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.03267, allocations: 4 kB / 0.8299 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.03267, allocations: 0 / 0.8299 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.03267, allocations: 4 kB / 0.8299 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.03418, allocations: 0.7862 MB / 0.8307 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.03419, allocations: 3.984 kB / 0.8307 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.03434, allocations: 35.92 kB / 0.8307 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/0.03487, allocations: 134.9 kB / 0.8309 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.03489, allocations: 8 kB / 0.8309 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/0.03919, allocations: 5.147 MB / 0.8359 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.03919, allocations: 0 / 0.8359 GB, free: 7.23 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.04007, allocations: 0.6223 MB / 0.8365 GB, free: 6.539 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.04022, allocations: 47.83 kB / 0.8365 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.04026, allocations: 8 kB / 0.8365 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.04048, allocations: 19.97 kB / 0.8366 GB, free: 6.465 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.04054, allocations: 27.91 kB / 0.8366 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.04056, allocations: 11.94 kB / 0.8366 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001868/0.04075, allocations: 191.1 kB / 0.8368 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.04075, allocations: 0 / 0.8368 GB, free: 6.238 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005281/0.04128, allocations: 95.92 kB / 0.8369 GB, free: 6.145 MB / 0.7917 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.0002367/0.04152, allocations: 147 kB / 0.837 GB, free: 5.992 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001/0.04252, allocations: 0.5918 MB / 0.8376 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.04252, allocations: 0 / 0.8376 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.04313, allocations: 463.8 kB / 0.838 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.04361, allocations: 49.77 kB / 0.8381 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.04467, allocations: 0.5783 MB / 0.8387 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.04488, allocations: 177.1 kB / 0.8388 GB, free: 3.988 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.04504, allocations: 46.25 kB / 0.8389 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.04509, allocations: 24.48 kB / 0.8389 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of SimCode: time 9.22e-07/0.04509, allocations: 0 / 0.8389 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of Templates: time 0.01019/0.05528, allocations: 4.224 MB / 0.843 GB, free: 15.75 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.38058113399893]