Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.00134/0.00134, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001425/0.001425, allocations: 170 kB / 23.27 MB, free: 1.227 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.9267/0.9267, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.264/2.264, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.329e-05, allocations: 9.266 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003328/0.003341, allocations: 3.796 MB / 0.8934 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.00524, allocations: 1.388 MB / 0.8948 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.005452, allocations: 39.56 kB / 0.8948 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.005897, allocations: 170.7 kB / 0.895 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.006331, allocations: 357.7 kB / 0.8953 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.00671, allocations: 347.3 kB / 0.8957 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.007343, allocations: 0.9525 MB / 0.8966 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.007672, allocations: 326.4 kB / 0.8969 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.008102, allocations: 0.4908 MB / 0.8974 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.008437, allocations: 335 kB / 0.8977 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.008484, allocations: 36 kB / 0.8977 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.008628, allocations: 103.8 kB / 0.8978 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.008742, allocations: 187.4 kB / 0.898 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.008873, allocations: 207.4 kB / 0.8982 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.009272, allocations: 0.5137 MB / 0.8987 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.009273, allocations: 4 kB / 0.8987 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.91e-07/0.009274, allocations: 0 / 0.8987 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.00928, allocations: 0 / 0.8987 GB, free: 0.5156 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.000756/0.01004, allocations: 0.9542 MB / 0.8997 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01007, allocations: 12.62 kB / 0.8997 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.01058, allocations: 216.1 kB / 0.8999 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.01104, allocations: 0.5018 MB / 0.9004 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.01107, allocations: 33.38 kB / 0.9004 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.01111, allocations: 44.36 kB / 0.9004 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006572/0.01177, allocations: 0.8259 MB / 0.9013 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.01179, allocations: 8.125 kB / 0.9013 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.01182, allocations: 24.36 kB / 0.9013 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.01188, allocations: 76.89 kB / 0.9014 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.01211, allocations: 250.3 kB / 0.9016 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.01448, allocations: 6.171 MB / 0.9076 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.01487, allocations: 258.9 kB / 0.9079 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.01495, allocations: 79.62 kB / 0.9079 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.01497, allocations: 4 kB / 0.9079 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.01499, allocations: 41.39 kB / 0.908 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=32): time 1.283e-06/0.01499, allocations: 0 / 0.908 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008825/0.01587, allocations: 0.5545 MB / 0.9085 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.01589, allocations: 55.69 kB / 0.9086 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.01615, allocations: 0.4982 MB / 0.9091 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01617, allocations: 29.7 kB / 0.9091 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.01634, allocations: 426.9 kB / 0.9095 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.0164, allocations: 130.9 kB / 0.9096 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.01649, allocations: 119.9 kB / 0.9097 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.01662, allocations: 0.5429 MB / 0.9103 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.01669, allocations: 73.19 kB / 0.9103 GB, free: 4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.0169, allocations: 422.8 kB / 0.9107 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.01724, allocations: 0.5583 MB / 0.9113 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01724, allocations: 4 kB / 0.9113 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005212/0.01776, allocations: 0.566 MB / 0.9118 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01778, allocations: 8 kB / 0.9119 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.01779, allocations: 8 kB / 0.9119 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.01803, allocations: 130.3 kB / 0.912 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.01823, allocations: 112 kB / 0.9121 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.02027, allocations: 5.179 MB / 0.9172 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.02042, allocations: 20 kB / 0.9172 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.02044, allocations: 20 kB / 0.9172 GB, free: 12.28 MB / 0.8855 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.0001157/0.02056, allocations: 200.5 kB / 0.9174 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.02061, allocations: 71.62 kB / 0.9174 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.02097, allocations: 353.3 kB / 0.9178 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.02097, allocations: 4 kB / 0.9178 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.02097, allocations: 4 kB / 0.9178 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02098, allocations: 3.984 kB / 0.9178 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.02167, allocations: 0.7917 MB / 0.9186 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02168, allocations: 4 kB / 0.9186 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.02178, allocations: 43.92 kB / 0.9186 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001906/0.02197, allocations: 122.5 kB / 0.9187 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.02198, allocations: 4 kB / 0.9187 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.02403, allocations: 5.171 MB / 0.9238 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.02404, allocations: 3.938 kB / 0.9238 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.02445, allocations: 0.5348 MB / 0.9243 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.02455, allocations: 83.59 kB / 0.9244 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.02457, allocations: 12 kB / 0.9244 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.02467, allocations: 7.984 kB / 0.9244 GB, free: 4.324 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.02472, allocations: 35.83 kB / 0.9244 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.02473, allocations: 8 kB / 0.9245 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001681/0.0249, allocations: 306.7 kB / 0.9247 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.0249, allocations: 0 / 0.9247 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000367/0.02527, allocations: 140 kB / 0.9249 GB, free: 3.848 MB / 0.8855 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.0001019/0.02537, allocations: 111.2 kB / 0.925 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006392/0.02601, allocations: 0.8082 MB / 0.9258 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.02601, allocations: 0 / 0.9258 GB, free: 2.859 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.02634, allocations: 0.6436 MB / 0.9264 GB, free: 2.152 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.02684, allocations: 197 kB / 0.9266 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009783/0.02782, allocations: 0.9917 MB / 0.9276 GB, free: 0.9023 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.254e-05/0.0279, allocations: 150 kB / 0.9277 GB, free: 0.7305 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.02803, allocations: 65.14 kB / 0.9278 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.02825, allocations: 226.1 kB / 0.928 GB, free: 452 kB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/0.02825, allocations: 0 / 0.928 GB, free: 452 kB / 0.8855 GB Notification: Performance of Templates: time 0.009542/0.03779, allocations: 8.378 MB / 0.9362 GB, free: 8.246 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.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.139526105020195]