Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001442/0.001442, 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.001627/0.001627, allocations: 165 kB / 24.17 MB, free: 336 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.9967/0.9967, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.591e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003835/0.003861, allocations: 3.792 MB / 0.7638 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.005697, allocations: 1.415 MB / 0.7651 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.005879, allocations: 35.62 kB / 0.7652 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.006342, allocations: 167.2 kB / 0.7653 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.006794, allocations: 353.7 kB / 0.7657 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.007186, allocations: 320.3 kB / 0.766 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.007866, allocations: 0.937 MB / 0.7669 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.008226, allocations: 342.4 kB / 0.7672 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.008747, allocations: 0.4908 MB / 0.7677 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.009122, allocations: 317.5 kB / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.009164, allocations: 40 kB / 0.768 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.00933, allocations: 103.8 kB / 0.7681 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.009454, allocations: 195.3 kB / 0.7683 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.009588, allocations: 207.5 kB / 0.7685 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.01006, allocations: 0.5066 MB / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.01006, allocations: 0 / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.32e-07/0.01006, allocations: 0.9375 kB / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.01007, allocations: 0 / 0.769 GB, free: 13.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0006874/0.01075, allocations: 0.8097 MB / 0.7698 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.01078, allocations: 8.031 kB / 0.7698 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005467/0.01133, allocations: 197 kB / 0.77 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.01183, allocations: 480.4 kB / 0.7705 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.01185, allocations: 33.36 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.01191, allocations: 52.36 kB / 0.7705 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.01243, allocations: 0.7202 MB / 0.7712 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.01245, allocations: 12.08 kB / 0.7713 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.01247, allocations: 20.38 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.01253, allocations: 69.53 kB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.01276, allocations: 239.7 kB / 0.7716 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.0149, allocations: 4.164 MB / 0.7756 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.01515, allocations: 274.1 kB / 0.7759 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.01523, allocations: 71.53 kB / 0.776 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01525, allocations: 8 kB / 0.776 GB, free: 5.945 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.01527, allocations: 34.55 kB / 0.776 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.01527, allocations: 3.938 kB / 0.776 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008741/0.01615, allocations: 0.5001 MB / 0.7765 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.01617, allocations: 55.69 kB / 0.7766 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01641, allocations: 449 kB / 0.777 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.01642, allocations: 29.7 kB / 0.777 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.0168, allocations: 329.2 kB / 0.7773 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.01686, allocations: 122.9 kB / 0.7774 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.01696, allocations: 102.2 kB / 0.7775 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.01705, allocations: 371.3 kB / 0.7779 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.01712, allocations: 61.28 kB / 0.778 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.0173, allocations: 311.9 kB / 0.7783 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.01761, allocations: 451.7 kB / 0.7787 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01762, allocations: 0.9062 kB / 0.7787 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004859/0.0181, allocations: 485.8 kB / 0.7791 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01812, allocations: 8 kB / 0.7792 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01813, allocations: 8.938 kB / 0.7792 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.01838, allocations: 125.1 kB / 0.7793 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.01862, allocations: 115.8 kB / 0.7794 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.02041, allocations: 3.598 MB / 0.7829 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.02057, allocations: 17.06 kB / 0.7829 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.02059, allocations: 24 kB / 0.7829 GB, free: 14.19 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.02072, allocations: 162.5 kB / 0.7831 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.02077, allocations: 47.94 kB / 0.7831 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.02112, allocations: 310 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02112, allocations: 4 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.02112, allocations: 1.188 kB / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.02113, allocations: 0 / 0.7834 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.02205, allocations: 0.6798 MB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.02206, allocations: 4 kB / 0.7841 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.02217, allocations: 52.81 kB / 0.7842 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002035/0.02238, allocations: 113 kB / 0.7843 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.02239, allocations: 8 kB / 0.7843 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.02404, allocations: 3.6 MB / 0.7878 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.02405, allocations: 11.88 kB / 0.7878 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.02451, allocations: 475.9 kB / 0.7883 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.02462, allocations: 72.47 kB / 0.7883 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.02466, allocations: 8 kB / 0.7883 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.02481, allocations: 8 kB / 0.7883 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.02487, allocations: 40.7 kB / 0.7884 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.02489, allocations: 12 kB / 0.7884 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001473/0.02503, allocations: 181.1 kB / 0.7886 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02503, allocations: 0 / 0.7886 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005117/0.02554, allocations: 140.8 kB / 0.7887 GB, free: 7.828 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001206/0.02566, allocations: 98.88 kB / 0.7888 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006689/0.02633, allocations: 0.6229 MB / 0.7894 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.02635, allocations: 8.5 kB / 0.7894 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.02672, allocations: 465.8 kB / 0.7899 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.02733, allocations: 195.1 kB / 0.79 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.02882, allocations: 0.9608 MB / 0.791 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.02892, allocations: 150 kB / 0.7911 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001846/0.02911, allocations: 70.94 kB / 0.7912 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.0294, allocations: 181.2 kB / 0.7914 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.0294, allocations: 0.9375 kB / 0.7914 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.01267/0.04206, allocations: 8.38 MB / 0.7995 GB, free: 12.81 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.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: 5.209033750928938]