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.0008536/0.0008536, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007909/0.0007909, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.86/0.86, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.717/1.717, allocations: 389 MB / 0.6338 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] 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.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.091e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002926/0.002947, allocations: 3.028 MB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.004798, allocations: 1.869 MB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.004898, allocations: 7.938 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.005441, allocations: 274.9 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.005723, allocations: 206.8 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.006128, allocations: 265.3 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.006386, allocations: 334.8 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.006625, allocations: 149.1 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.006823, allocations: 191.5 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.007011, allocations: 135.6 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.007036, allocations: 20 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.007363, allocations: 383 kB / 1.008 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.007433, allocations: 91.73 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.007495, allocations: 79.83 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.007929, allocations: 0.5296 MB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007932, allocations: 4 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007933, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.007938, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 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.0005812/0.008519, allocations: 497.1 kB / 1.009 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.008553, allocations: 9.344 kB / 1.009 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.008962, allocations: 120.6 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.009185, allocations: 206 kB / 1.009 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.009197, allocations: 12.88 kB / 1.009 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.009221, allocations: 24.36 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.009586, allocations: 405 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.009596, allocations: 192 / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.009617, allocations: 12.38 kB / 1.009 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.009646, allocations: 28.42 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.009933, allocations: 293.8 kB / 1.01 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01104, allocations: 1.23 MB / 1.011 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.01132, allocations: 244.9 kB / 1.011 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.01141, allocations: 101.6 kB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.01146, allocations: 19.92 kB / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.01148, allocations: 38.56 kB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01148, allocations: 0 / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001374/0.01285, allocations: 0.8812 MB / 1.012 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.01289, allocations: 85.05 kB / 1.012 GB, free: 1.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01302, allocations: 210.8 kB / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.01304, allocations: 33.64 kB / 1.013 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.01311, allocations: 172.4 kB / 1.013 GB, free: 0.6562 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.01315, allocations: 83.28 kB / 1.013 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.01321, allocations: 61.69 kB / 1.013 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.01329, allocations: 334.8 kB / 1.013 GB, free: 176 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.01349, allocations: 123.9 kB / 1.013 GB, free: 52 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.01365, allocations: 214.8 kB / 1.013 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.01394, allocations: 373 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01394, allocations: 0 / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004965/0.01444, allocations: 0.5043 MB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01445, allocations: 5.562 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01446, allocations: 8 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.01474, allocations: 155.2 kB / 1.014 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01488, allocations: 60.16 kB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.0166, allocations: 3.926 MB / 1.018 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.01669, allocations: 23.94 kB / 1.018 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.01671, allocations: 12 kB / 1.018 GB, free: 10.43 MB / 0.9792 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.0001037/0.01681, allocations: 162 kB / 1.019 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01685, allocations: 19.91 kB / 1.019 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.01735, allocations: 490.5 kB / 1.019 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01735, allocations: 4 kB / 1.019 GB, free: 9.742 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01736, allocations: 0 / 1.019 GB, free: 9.742 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01736, allocations: 3.984 kB / 1.019 GB, free: 9.738 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008411/0.0182, allocations: 0.8826 MB / 1.02 GB, free: 8.781 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01821, allocations: 4 kB / 1.02 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.01827, allocations: 35.91 kB / 1.02 GB, free: 8.742 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.01854, allocations: 139.3 kB / 1.02 GB, free: 8.594 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01856, allocations: 8.25 kB / 1.02 GB, free: 8.586 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.02008, allocations: 3.907 MB / 1.024 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.02008, allocations: 8.016 kB / 1.024 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.02054, allocations: 0.6137 MB / 1.025 GB, free: 3.746 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.0206, allocations: 39.88 kB / 1.025 GB, free: 3.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.02061, allocations: 19.94 kB / 1.025 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02073, allocations: 15.98 kB / 1.025 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.02076, allocations: 23.91 kB / 1.025 GB, free: 3.648 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.02077, allocations: 15.94 kB / 1.025 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.02086, allocations: 158.7 kB / 1.025 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02086, allocations: 0 / 1.025 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002924/0.02115, allocations: 95.81 kB / 1.025 GB, free: 3.387 MB / 0.9792 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.0001579/0.02131, allocations: 139.2 kB / 1.025 GB, free: 3.242 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005575/0.02186, allocations: 0.5651 MB / 1.026 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02187, allocations: 3.938 kB / 1.026 GB, free: 2.648 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.02212, allocations: 390.1 kB / 1.026 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.02244, allocations: 51.8 kB / 1.026 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.0231, allocations: 0.6552 MB / 1.027 GB, free: 1.488 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.02322, allocations: 177 kB / 1.027 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.02327, allocations: 24.5 kB / 1.027 GB, free: 1.27 MB / 0.9792 GB Notification: Performance of SimCode: time 4.51e-07/0.02327, allocations: 0 / 1.027 GB, free: 1.27 MB / 0.9792 GB Notification: Performance of Templates: time 0.006533/0.0298, allocations: 7.806 MB / 1.034 GB, free: 9.453 MB / 0.9948 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: 7.18061082996428]