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.0008724/0.0008724, allocations: 80.8 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.0008927/0.0008927, allocations: 165 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.9606/0.9606, allocations: 177.1 MB / 204.6 MB, free: 5.461 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.782/1.782, allocations: 377.9 MB / 0.624 GB, free: 8.398 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.442e-06/1.442e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.022e-05, allocations: 2.312 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006844/0.006864, allocations: 2.681 MB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005499/0.01236, allocations: 1.487 MB / 0.7641 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.01247, allocations: 7.938 kB / 0.7641 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.01288, allocations: 100 kB / 0.7642 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.01637, allocations: 200.1 kB / 0.7644 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.01698, allocations: 269.8 kB / 0.7646 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004468/0.01743, allocations: 415.8 kB / 0.765 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.01774, allocations: 190.2 kB / 0.7652 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.01808, allocations: 215.5 kB / 0.7654 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.01839, allocations: 184.4 kB / 0.7656 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.01843, allocations: 24.53 kB / 0.7656 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.0187, allocations: 172.7 kB / 0.7658 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.01883, allocations: 127.7 kB / 0.7659 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003129/0.02196, allocations: 107.7 kB / 0.766 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.02236, allocations: 359.7 kB / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.02236, allocations: 0 / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.011e-06/0.02236, allocations: 1.219 kB / 0.7663 GB, free: 220 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.02237, allocations: 0 / 0.7663 GB, free: 220 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.0006642/0.02303, allocations: 0.4894 MB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.02306, allocations: 12.03 kB / 0.7668 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/0.02372, allocations: 142.1 kB / 0.767 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.02397, allocations: 212.6 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.02399, allocations: 20.86 kB / 0.7672 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.02407, allocations: 28.75 kB / 0.7672 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.02446, allocations: 382.6 kB / 0.7676 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.02447, allocations: 0.75 kB / 0.7676 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.0245, allocations: 25.27 kB / 0.7676 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-05/0.02459, allocations: 40.47 kB / 0.7676 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.02478, allocations: 102.6 kB / 0.7677 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/0.02912, allocations: 1.287 MB / 0.769 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.02934, allocations: 168 kB / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.02942, allocations: 44.84 kB / 0.7692 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.02944, allocations: 4 kB / 0.7692 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.02946, allocations: 38.56 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.02946, allocations: 0 / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0009864/0.03045, allocations: 442.7 kB / 0.7697 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.03048, allocations: 60 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.03069, allocations: 227.6 kB / 0.7699 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.03073, allocations: 30.36 kB / 0.77 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.03082, allocations: 184.3 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.03088, allocations: 88.47 kB / 0.7702 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.031, allocations: 73.59 kB / 0.7703 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.0311, allocations: 334.8 kB / 0.7706 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.03119, allocations: 42.42 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.03133, allocations: 123.1 kB / 0.7708 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.03159, allocations: 205.2 kB / 0.771 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.0316, allocations: 4 kB / 0.771 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006224/0.03222, allocations: 298.2 kB / 0.7713 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.03224, allocations: 8.578 kB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.03224, allocations: 7.938 kB / 0.7713 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007432/0.03299, allocations: 172.1 kB / 0.7714 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.03321, allocations: 61.5 kB / 0.7715 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.03451, allocations: 1.561 MB / 0.773 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.03465, allocations: 19.45 kB / 0.773 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.03467, allocations: 12 kB / 0.7731 GB, free: 8.945 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 9.272e-05/0.03477, allocations: 128.6 kB / 0.7732 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.0348, allocations: 27.91 kB / 0.7732 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.03498, allocations: 149 kB / 0.7733 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.03498, allocations: 4 kB / 0.7733 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.03498, allocations: 0.7188 kB / 0.7733 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.03498, allocations: 0 / 0.7733 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.03538, allocations: 460.5 kB / 0.7738 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.03539, allocations: 0.5312 kB / 0.7738 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.03556, allocations: 64.48 kB / 0.7738 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.03557, allocations: 9.047 kB / 0.7739 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.03558, allocations: 7.938 kB / 0.7739 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.03558, allocations: 4 kB / 0.7739 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03558, allocations: 4.562 kB / 0.7739 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.03582, allocations: 337.4 kB / 0.7742 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.03588, allocations: 39.77 kB / 0.7742 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.0359, allocations: 8 kB / 0.7742 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.03599, allocations: 8 kB / 0.7742 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.03601, allocations: 16.02 kB / 0.7743 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.03602, allocations: 9.766 kB / 0.7743 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.03608, allocations: 69.66 kB / 0.7743 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.03608, allocations: 4 kB / 0.7743 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002241/0.0363, allocations: 84 kB / 0.7744 GB, free: 7.477 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.0001286/0.03643, allocations: 89.55 kB / 0.7745 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004264/0.03686, allocations: 354.6 kB / 0.7748 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.03687, allocations: 0 / 0.7748 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.359e-05/0.03696, allocations: 68.09 kB / 0.7749 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.03719, allocations: 71.75 kB / 0.775 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.03819, allocations: 0.6313 MB / 0.7756 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.03827, allocations: 116.1 kB / 0.7757 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.03837, allocations: 36.33 kB / 0.7757 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.03851, allocations: 91.34 kB / 0.7758 GB, free: 6 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/0.03851, allocations: 0 / 0.7758 GB, free: 6 MB / 0.7292 GB Notification: Performance of Templates: time 0.006275/0.04479, allocations: 4.452 MB / 0.7802 GB, free: 1.672 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 -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.861939123831689]