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.0009948/0.0009948, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001083/0.001083, allocations: 167.7 kB / 24.87 MB, free: 9.223 MB / 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.9316/0.9316, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.917/1.917, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.423e-06/1.423e-06, allocations: 0 / 0.8128 GB, free: 340 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.659e-05, allocations: 2.312 kB / 0.8128 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00365/0.003666, allocations: 3.737 MB / 0.8164 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.005647, allocations: 1.388 MB / 0.8178 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.005867, allocations: 36.31 kB / 0.8178 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.006373, allocations: 164 kB / 0.818 GB, free: 11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.006869, allocations: 353.1 kB / 0.8183 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.007329, allocations: 322 kB / 0.8186 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.00835, allocations: 0.9501 MB / 0.8195 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.008847, allocations: 318.4 kB / 0.8198 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007176/0.009565, allocations: 494.6 kB / 0.8203 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.01002, allocations: 332.6 kB / 0.8206 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.01006, allocations: 41.75 kB / 0.8207 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.01023, allocations: 103.8 kB / 0.8208 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.01035, allocations: 195.3 kB / 0.8209 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.01049, allocations: 203.5 kB / 0.8211 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004316/0.01092, allocations: 0.5098 MB / 0.8216 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01093, allocations: 1.062 kB / 0.8216 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.62e-07/0.01093, allocations: 0 / 0.8216 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.01093, allocations: 0 / 0.8216 GB, free: 7.227 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.0007839/0.01172, allocations: 0.9496 MB / 0.8226 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.01175, allocations: 8.031 kB / 0.8226 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.01228, allocations: 212.9 kB / 0.8228 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.0128, allocations: 498.3 kB / 0.8233 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.01282, allocations: 32.84 kB / 0.8233 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.01288, allocations: 52.31 kB / 0.8233 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.0134, allocations: 0.8221 MB / 0.8241 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.01342, allocations: 8.125 kB / 0.8241 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.01345, allocations: 24.36 kB / 0.8242 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.01351, allocations: 68.89 kB / 0.8242 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.01376, allocations: 259.1 kB / 0.8245 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.01642, allocations: 6.159 MB / 0.8305 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.01667, allocations: 250.9 kB / 0.8307 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.01675, allocations: 84.05 kB / 0.8308 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.01677, allocations: 8.875 kB / 0.8308 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.01679, allocations: 37.38 kB / 0.8309 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.01679, allocations: 1.125 kB / 0.8309 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.0009036/0.01769, allocations: 0.5613 MB / 0.8314 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.01772, allocations: 55.69 kB / 0.8315 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.01797, allocations: 498.1 kB / 0.8319 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.01798, allocations: 29.7 kB / 0.832 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.01816, allocations: 426.9 kB / 0.8324 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.01823, allocations: 123 kB / 0.8325 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.226e-05/0.01832, allocations: 115.9 kB / 0.8326 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01846, allocations: 0.5429 MB / 0.8331 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.01853, allocations: 65.27 kB / 0.8332 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.01875, allocations: 431.5 kB / 0.8336 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.01911, allocations: 0.5576 MB / 0.8341 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01912, allocations: 4 kB / 0.8341 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005459/0.01966, allocations: 0.5619 MB / 0.8347 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.01968, allocations: 12.22 kB / 0.8347 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.01969, allocations: 8 kB / 0.8347 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.01994, allocations: 130.3 kB / 0.8348 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.02016, allocations: 103.8 kB / 0.8349 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.02219, allocations: 5.184 MB / 0.84 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.02236, allocations: 20 kB / 0.84 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.02238, allocations: 24 kB / 0.84 GB, free: 3.086 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.0001233/0.0225, allocations: 200.5 kB / 0.8402 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.02256, allocations: 71.62 kB / 0.8403 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.02294, allocations: 341 kB / 0.8406 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02294, allocations: 4 kB / 0.8406 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02294, allocations: 0 / 0.8406 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02295, allocations: 3.984 kB / 0.8406 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007326/0.02368, allocations: 0.7873 MB / 0.8414 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02368, allocations: 11.97 kB / 0.8414 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.02379, allocations: 43.91 kB / 0.8415 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.024, allocations: 114.3 kB / 0.8416 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.02401, allocations: 8 kB / 0.8416 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.02588, allocations: 5.172 MB / 0.8466 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.02588, allocations: 7.938 kB / 0.8466 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.02631, allocations: 0.539 MB / 0.8472 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.0264, allocations: 79.58 kB / 0.8472 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.02643, allocations: 12.16 kB / 0.8472 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.02654, allocations: 12 kB / 0.8473 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.0266, allocations: 39.81 kB / 0.8473 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.02661, allocations: 8 kB / 0.8473 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000145/0.02675, allocations: 290.7 kB / 0.8476 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02675, allocations: 0 / 0.8476 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003735/0.02713, allocations: 144 kB / 0.8477 GB, free: 10.67 MB / 0.7605 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.0001008/0.02723, allocations: 107.2 kB / 0.8478 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006064/0.02783, allocations: 0.8196 MB / 0.8486 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.02784, allocations: 0 / 0.8486 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.0282, allocations: 0.6433 MB / 0.8493 GB, free: 8.965 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.02876, allocations: 189.5 kB / 0.8494 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.02982, allocations: 0.9644 MB / 0.8504 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.02992, allocations: 154 kB / 0.8505 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.03008, allocations: 61.05 kB / 0.8506 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.03032, allocations: 222.1 kB / 0.8508 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.03032, allocations: 0 / 0.8508 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of Templates: time 0.01057/0.04089, allocations: 8.53 MB / 0.8591 GB, free: 15.01 MB / 0.7761 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.262804747093469]