Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001036/0.001036, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001164/0.001164, allocations: 173.4 kB / 24.06 MB, free: 452 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.9723/0.9723, allocations: 177.1 MB / 204.5 MB, free: 5.516 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 2.031/2.031, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.163e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003716/0.003738, allocations: 3.754 MB / 0.883 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.005647, allocations: 1.365 MB / 0.8844 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.005844, allocations: 36.62 kB / 0.8844 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.006329, allocations: 166.7 kB / 0.8846 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004572/0.006786, allocations: 355.9 kB / 0.8849 GB, free: 400 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.007179, allocations: 323.4 kB / 0.8852 GB, free: 76 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000938/0.008117, allocations: 0.9447 MB / 0.8861 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.008557, allocations: 318.4 kB / 0.8865 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.009091, allocations: 498.6 kB / 0.8869 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.00944, allocations: 331.1 kB / 0.8872 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.009483, allocations: 36 kB / 0.8873 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.009636, allocations: 107.9 kB / 0.8874 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.009761, allocations: 195.3 kB / 0.8876 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.009901, allocations: 207.5 kB / 0.8878 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.01032, allocations: 0.5058 MB / 0.8883 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.01033, allocations: 0 / 0.8883 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01033, allocations: 0 / 0.8883 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.01033, allocations: 0 / 0.8883 GB, free: 12.95 MB / 0.8542 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.0007888/0.01112, allocations: 0.9429 MB / 0.8892 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.01116, allocations: 12.03 kB / 0.8892 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.0117, allocations: 216 kB / 0.8894 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.01217, allocations: 493.9 kB / 0.8899 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.0122, allocations: 33.38 kB / 0.8899 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.01225, allocations: 44.36 kB / 0.8899 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.01276, allocations: 0.8257 MB / 0.8907 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.01278, allocations: 12.12 kB / 0.8908 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.01281, allocations: 24.36 kB / 0.8908 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.01287, allocations: 72.89 kB / 0.8909 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.01311, allocations: 250.2 kB / 0.8911 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002707/0.01581, allocations: 6.179 MB / 0.8971 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.01608, allocations: 254.9 kB / 0.8974 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.01616, allocations: 75.66 kB / 0.8974 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01618, allocations: 4 kB / 0.8974 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.0162, allocations: 41.38 kB / 0.8975 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.0162, allocations: 4 kB / 0.8975 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.0009597/0.01716, allocations: 0.5518 MB / 0.898 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.01719, allocations: 55.69 kB / 0.8981 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.01744, allocations: 0.4903 MB / 0.8986 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.01746, allocations: 37.7 kB / 0.8986 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.01764, allocations: 415 kB / 0.899 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.0177, allocations: 126.9 kB / 0.8991 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.73e-05/0.0178, allocations: 115.9 kB / 0.8992 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003921/0.01819, allocations: 0.5429 MB / 0.8998 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.01826, allocations: 69.25 kB / 0.8998 GB, free: 500 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.01848, allocations: 432.3 kB / 0.9002 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.01883, allocations: 0.5543 MB / 0.9008 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01884, allocations: 4 kB / 0.9008 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00055/0.01939, allocations: 0.5579 MB / 0.9013 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.0194, allocations: 11.98 kB / 0.9013 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.01941, allocations: 8 kB / 0.9013 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/0.01967, allocations: 138.7 kB / 0.9015 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.0199, allocations: 107.8 kB / 0.9016 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.02222, allocations: 5.179 MB / 0.9066 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.0224, allocations: 20 kB / 0.9066 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.02242, allocations: 28.25 kB / 0.9067 GB, free: 8.754 MB / 0.8698 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.0001383/0.02256, allocations: 196.3 kB / 0.9069 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.02262, allocations: 67.67 kB / 0.9069 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.02303, allocations: 352.9 kB / 0.9073 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02303, allocations: 4 kB / 0.9073 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.02303, allocations: 4 kB / 0.9073 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02304, allocations: 4 kB / 0.9073 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.02378, allocations: 0.7795 MB / 0.908 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.02379, allocations: 4 kB / 0.908 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.02391, allocations: 47.91 kB / 0.9081 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.02411, allocations: 118.5 kB / 0.9082 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.02413, allocations: 8 kB / 0.9082 GB, free: 7.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.02627, allocations: 5.16 MB / 0.9132 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02627, allocations: 4.188 kB / 0.9133 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.0267, allocations: 0.5465 MB / 0.9138 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.0268, allocations: 67.64 kB / 0.9138 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.02683, allocations: 15.98 kB / 0.9139 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.02694, allocations: 8 kB / 0.9139 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.02699, allocations: 35.83 kB / 0.9139 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.027, allocations: 8 kB / 0.9139 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001399/0.02714, allocations: 302.7 kB / 0.9142 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.02714, allocations: 0 / 0.9142 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004156/0.02756, allocations: 136 kB / 0.9143 GB, free: 368 kB / 0.8698 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.0001113/0.02767, allocations: 111.2 kB / 0.9144 GB, free: 248 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000668/0.02834, allocations: 0.8163 MB / 0.9152 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.02834, allocations: 0 / 0.9152 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.02869, allocations: 0.6457 MB / 0.9159 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.02927, allocations: 191.5 kB / 0.916 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.03042, allocations: 0.9684 MB / 0.917 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.03052, allocations: 158 kB / 0.9171 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.03068, allocations: 69.05 kB / 0.9172 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.03093, allocations: 218.1 kB / 0.9174 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/0.03093, allocations: 0 / 0.9174 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of Templates: time 0.01066/0.04158, allocations: 8.523 MB / 0.9257 GB, free: 4.68 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.364718971773982]