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.001655/0.001655, allocations: 80.36 kB / 19.18 MB, free: 2.531 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.001964/0.001964, allocations: 163.2 kB / 22.46 MB, free: 5.355 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 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 2.879/2.879, allocations: 389 MB / 0.633 GB, free: 1.043 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.503e-06/1.503e-06, allocations: 0 / 1 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.578e-05, allocations: 6.219 kB / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004858/0.004884, allocations: 3.031 MB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003291/0.008175, allocations: 1.873 MB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.008311, allocations: 11.88 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009935/0.009305, allocations: 279.8 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005354/0.00984, allocations: 202.9 kB / 1.005 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007698/0.01061, allocations: 262.9 kB / 1.006 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.01104, allocations: 330.8 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.01136, allocations: 149.1 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.01168, allocations: 183.5 kB / 1.006 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.01197, allocations: 139.6 kB / 1.006 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.01202, allocations: 20 kB / 1.006 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00066/0.01268, allocations: 391 kB / 1.007 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01279, allocations: 91.72 kB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.01291, allocations: 79.83 kB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.01364, allocations: 0.518 MB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01365, allocations: 0 / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01365, allocations: 0 / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.01365, allocations: 0 / 1.007 GB, free: 15.8 MB / 0.9669 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.0009189/0.01457, allocations: 0.4971 MB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.01461, allocations: 12.03 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008631/0.01547, allocations: 112.7 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.01584, allocations: 201.3 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.01586, allocations: 12.88 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.01591, allocations: 24.36 kB / 1.008 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.01657, allocations: 409 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01658, allocations: 4.125 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.01661, allocations: 8.375 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.01666, allocations: 32.41 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.01723, allocations: 289.8 kB / 1.009 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.01926, allocations: 1.23 MB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.01978, allocations: 239.5 kB / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.01995, allocations: 101.7 kB / 1.011 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.02003, allocations: 11.92 kB / 1.011 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.02006, allocations: 38.5 kB / 1.011 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.664e-06/0.02006, allocations: 0 / 1.011 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002644/0.0227, allocations: 0.8981 MB / 1.011 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.02277, allocations: 85.05 kB / 1.012 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.02301, allocations: 208.3 kB / 1.012 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.02305, allocations: 33.7 kB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.02319, allocations: 176.4 kB / 1.012 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.02327, allocations: 79.33 kB / 1.012 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02338, allocations: 61.72 kB / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.02355, allocations: 338.8 kB / 1.012 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.02376, allocations: 127.9 kB / 1.012 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.02405, allocations: 210.5 kB / 1.013 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.02459, allocations: 369.1 kB / 1.013 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.02459, allocations: 3.938 kB / 1.013 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009513/0.02554, allocations: 0.5042 MB / 1.014 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.02556, allocations: 8 kB / 1.014 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02556, allocations: 4.312 kB / 1.014 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/0.02611, allocations: 151.3 kB / 1.014 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.02638, allocations: 51.97 kB / 1.014 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.02993, allocations: 3.934 MB / 1.018 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.03013, allocations: 15.98 kB / 1.018 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.03015, allocations: 16.38 kB / 1.018 GB, free: 4.773 MB / 0.9669 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.0001994/0.03035, allocations: 169.7 kB / 1.018 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.03042, allocations: 19.91 kB / 1.018 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009519/0.03138, allocations: 478.5 kB / 1.018 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.03138, allocations: 4 kB / 1.018 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.03138, allocations: 8.031 kB / 1.018 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.03139, allocations: 3.938 kB / 1.018 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.03301, allocations: 0.8825 MB / 1.019 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.03301, allocations: 4.25 kB / 1.019 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.03315, allocations: 35.92 kB / 1.019 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.0336, allocations: 139.3 kB / 1.019 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.03363, allocations: 8 kB / 1.019 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/0.037, allocations: 3.914 MB / 1.023 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.037, allocations: 0 / 1.023 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.03792, allocations: 0.6257 MB / 1.024 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.03803, allocations: 55.83 kB / 1.024 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.03807, allocations: 8 kB / 1.024 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.0383, allocations: 15.98 kB / 1.024 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.03836, allocations: 23.97 kB / 1.024 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.03839, allocations: 15.92 kB / 1.024 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001725/0.03856, allocations: 149.1 kB / 1.024 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.03856, allocations: 3.938 kB / 1.024 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005479/0.03911, allocations: 91.88 kB / 1.024 GB, free: 13.71 MB / 0.9825 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.0002694/0.03938, allocations: 147.6 kB / 1.024 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.04038, allocations: 0.5566 MB / 1.025 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.04039, allocations: 8.188 kB / 1.025 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.04097, allocations: 387 kB / 1.025 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.04151, allocations: 43.75 kB / 1.025 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.04259, allocations: 0.6185 MB / 1.026 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.04282, allocations: 173.1 kB / 1.026 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.04298, allocations: 70.16 kB / 1.026 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.04304, allocations: 24.5 kB / 1.026 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.04304, allocations: 0 / 1.026 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.009334/0.05237, allocations: 4.146 MB / 1.03 GB, free: 7.48 MB / 0.9825 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.263466838747263]