Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001089/0.001089, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001101/0.001101, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9364/0.9364, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.868/1.868, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 5.031 kB / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.812e-05/1.973e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003089/0.003109, allocations: 2.719 MB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.004979, allocations: 1.48 MB / 0.7642 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.005081, allocations: 11.94 kB / 0.7642 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.005493, allocations: 108.2 kB / 0.7643 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.005773, allocations: 192.4 kB / 0.7645 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.006133, allocations: 262.2 kB / 0.7647 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.006458, allocations: 418.6 kB / 0.7651 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.006712, allocations: 179.7 kB / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.006998, allocations: 227.4 kB / 0.7655 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.007269, allocations: 183.5 kB / 0.7657 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.007304, allocations: 25.81 kB / 0.7657 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.007546, allocations: 175.6 kB / 0.7659 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.007654, allocations: 131.6 kB / 0.766 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.007738, allocations: 103.8 kB / 0.7661 GB, free: 460 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.008115, allocations: 357.9 kB / 0.7664 GB, free: 104 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.008117, allocations: 0 / 0.7664 GB, free: 104 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/0.008119, allocations: 0 / 0.7664 GB, free: 104 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.008124, allocations: 0 / 0.7664 GB, free: 104 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009713/0.009095, allocations: 0.4919 MB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.009131, allocations: 11.97 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/0.009743, allocations: 147.4 kB / 0.7671 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.01, allocations: 203.7 kB / 0.7673 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.01002, allocations: 20.86 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.01011, allocations: 37.98 kB / 0.7673 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.01048, allocations: 374.6 kB / 0.7677 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.0105, allocations: 0.75 kB / 0.7677 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.01052, allocations: 16.59 kB / 0.7677 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-05/0.01061, allocations: 44.45 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.01076, allocations: 106.5 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.01194, allocations: 1.295 MB / 0.7691 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.01212, allocations: 168 kB / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/0.01217, allocations: 44.8 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.01219, allocations: 7.984 kB / 0.7693 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.01222, allocations: 34.56 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/0.01222, allocations: 4.719 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0007394/0.01296, allocations: 439.2 kB / 0.7698 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.01298, allocations: 54.28 kB / 0.7698 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.01313, allocations: 227 kB / 0.77 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.01315, allocations: 33.7 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.01323, allocations: 184.3 kB / 0.7702 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.01327, allocations: 87.2 kB / 0.7703 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.01335, allocations: 77.59 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.01344, allocations: 336.3 kB / 0.7707 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.01349, allocations: 35.98 kB / 0.7708 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.01359, allocations: 123 kB / 0.7709 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.01378, allocations: 205.8 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01378, allocations: 3.25 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004142/0.01419, allocations: 298.7 kB / 0.7714 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.01421, allocations: 8 kB / 0.7714 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.01422, allocations: 15.92 kB / 0.7714 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/0.01475, allocations: 177.7 kB / 0.7715 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01491, allocations: 61.11 kB / 0.7716 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.01613, allocations: 1.563 MB / 0.7731 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01627, allocations: 17.42 kB / 0.7731 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.01629, allocations: 12 kB / 0.7732 GB, free: 8.82 MB / 0.7292 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.01637, allocations: 125.1 kB / 0.7733 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01641, allocations: 28.92 kB / 0.7733 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.01659, allocations: 156.9 kB / 0.7735 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01659, allocations: 8.094 kB / 0.7735 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.71e-07/0.01659, allocations: 5 kB / 0.7735 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.0166, allocations: 3.984 kB / 0.7735 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.01713, allocations: 444.9 kB / 0.7739 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.01713, allocations: 4 kB / 0.7739 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.0174, allocations: 101.4 kB / 0.774 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.0174, allocations: 0 / 0.774 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.01742, allocations: 12.47 kB / 0.774 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01742, allocations: 0.5 kB / 0.774 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01742, allocations: 0.5938 kB / 0.774 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.01769, allocations: 345.6 kB / 0.7743 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.01774, allocations: 43.77 kB / 0.7744 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.01776, allocations: 4 kB / 0.7744 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.01786, allocations: 8.812 kB / 0.7744 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.01788, allocations: 15.97 kB / 0.7744 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.01789, allocations: 5.125 kB / 0.7744 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.01796, allocations: 73.66 kB / 0.7745 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01796, allocations: 0 / 0.7745 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002354/0.01819, allocations: 84.91 kB / 0.7746 GB, free: 7.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.01831, allocations: 101.1 kB / 0.7747 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.01871, allocations: 342.8 kB / 0.775 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.01872, allocations: 4 kB / 0.775 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.492e-05/0.01878, allocations: 60.7 kB / 0.7751 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01901, allocations: 60.67 kB / 0.7751 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/0.01994, allocations: 0.6358 MB / 0.7757 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.435e-05/0.02, allocations: 117 kB / 0.7758 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.499e-05/0.0201, allocations: 28.8 kB / 0.7759 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.02023, allocations: 91.34 kB / 0.776 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/0.02023, allocations: 0.5625 kB / 0.776 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.00579/0.02602, allocations: 4.453 MB / 0.7803 GB, free: 1.52 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9609498819336295]