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.001054/0.001054, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001842/0.001842, allocations: 169 kB / 24.28 MB, free: 276 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.9822/0.9822, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.88/1.88, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.964e-06/1.964e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.796e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004893/0.004921, allocations: 4.855 MB / 0.8163 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.007843, allocations: 2.5 MB / 0.8187 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.008114, allocations: 37 kB / 0.8187 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008159/0.00893, allocations: 407.6 kB / 0.8191 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007452/0.009675, allocations: 494 kB / 0.8196 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.0104, allocations: 369 kB / 0.82 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.01115, allocations: 0.937 MB / 0.8209 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.01158, allocations: 330.3 kB / 0.8212 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005159/0.0121, allocations: 491.1 kB / 0.8216 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.01243, allocations: 313 kB / 0.8219 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.01247, allocations: 36 kB / 0.822 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.01292, allocations: 370.9 kB / 0.8223 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01307, allocations: 195.3 kB / 0.8225 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.01323, allocations: 213.9 kB / 0.8227 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.01388, allocations: 0.6733 MB / 0.8234 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01388, allocations: 0 / 0.8234 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01388, allocations: 0 / 0.8234 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.01389, allocations: 0 / 0.8234 GB, free: 5.934 MB / 0.7761 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.0008748/0.01476, allocations: 0.9803 MB / 0.8243 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.0148, allocations: 8.031 kB / 0.8243 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008784/0.01568, allocations: 284.5 kB / 0.8246 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.01621, allocations: 0.5039 MB / 0.8251 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.01623, allocations: 34.38 kB / 0.8251 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.01629, allocations: 48.36 kB / 0.8252 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.01693, allocations: 0.8582 MB / 0.826 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.01695, allocations: 4.125 kB / 0.826 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.01698, allocations: 28.36 kB / 0.8261 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.01706, allocations: 70.64 kB / 0.8261 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.01742, allocations: 300 kB / 0.8264 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.02036, allocations: 6.282 MB / 0.8325 GB, free: 12.06 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.02068, allocations: 275 kB / 0.8328 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.02081, allocations: 87.64 kB / 0.8329 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.02082, allocations: 8.531 kB / 0.8329 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.02085, allocations: 45.31 kB / 0.8329 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.02085, allocations: 0 / 0.8329 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001194/0.02205, allocations: 0.6924 MB / 0.8336 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.02208, allocations: 59.62 kB / 0.8337 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.02254, allocations: 0.4906 MB / 0.8342 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.02256, allocations: 33.7 kB / 0.8342 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.02275, allocations: 423 kB / 0.8346 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.02283, allocations: 123 kB / 0.8347 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02293, allocations: 115.9 kB / 0.8348 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.02309, allocations: 0.5352 MB / 0.8353 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.02321, allocations: 85.25 kB / 0.8354 GB, free: 9 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.02352, allocations: 456.4 kB / 0.8359 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.02398, allocations: 0.5857 MB / 0.8364 GB, free: 7.648 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.02399, allocations: 4 kB / 0.8364 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006647/0.02465, allocations: 0.6128 MB / 0.837 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.02467, allocations: 11.98 kB / 0.837 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.02468, allocations: 11.98 kB / 0.8371 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003236/0.02501, allocations: 126.5 kB / 0.8372 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.02526, allocations: 127.8 kB / 0.8373 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.02751, allocations: 5.256 MB / 0.8424 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.02771, allocations: 35.97 kB / 0.8425 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.02774, allocations: 28 kB / 0.8425 GB, free: 1.027 MB / 0.7917 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.0001498/0.02789, allocations: 208.5 kB / 0.8427 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.02795, allocations: 63.67 kB / 0.8428 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.02842, allocations: 369 kB / 0.8431 GB, free: 372 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.02842, allocations: 4 kB / 0.8431 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.02843, allocations: 3.938 kB / 0.8431 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.02843, allocations: 3.984 kB / 0.8431 GB, free: 360 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008625/0.02929, allocations: 0.8848 MB / 0.844 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0293, allocations: 0 / 0.844 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.02942, allocations: 59.89 kB / 0.844 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.02964, allocations: 122.5 kB / 0.8442 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.02966, allocations: 8 kB / 0.8442 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.03165, allocations: 5.244 MB / 0.8493 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.03165, allocations: 3.938 kB / 0.8493 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.03214, allocations: 0.5619 MB / 0.8498 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.03224, allocations: 83.81 kB / 0.8499 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.03227, allocations: 8 kB / 0.8499 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.0324, allocations: 27.91 kB / 0.85 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.03245, allocations: 35.88 kB / 0.85 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.03247, allocations: 12 kB / 0.85 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001827/0.03265, allocations: 306.8 kB / 0.8503 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03265, allocations: 0 / 0.8503 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004312/0.03308, allocations: 140 kB / 0.8504 GB, free: 8.32 MB / 0.8073 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.0001227/0.0332, allocations: 119.2 kB / 0.8505 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.03395, allocations: 0.8524 MB / 0.8514 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03396, allocations: 0 / 0.8514 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.03434, allocations: 0.6574 MB / 0.852 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.03491, allocations: 188.8 kB / 0.8522 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.03616, allocations: 0.9688 MB / 0.8531 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.618e-05/0.03626, allocations: 158 kB / 0.8533 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.03643, allocations: 93 kB / 0.8534 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.0365, allocations: 36.5 kB / 0.8534 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of SimCode: time 1.373e-06/0.0365, allocations: 4 kB / 0.8534 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of Templates: time 0.009964/0.04646, allocations: 7.848 MB / 0.8611 GB, free: 13.41 MB / 0.823 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 -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.274705773917958]