Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009918/0.0009918, 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.001553/0.001553, 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.9885/0.9885, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.726/1.726, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.767e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004191/0.004209, allocations: 4.906 MB / 0.7919 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.006699, allocations: 2.533 MB / 0.7943 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002025/0.006901, allocations: 35.62 kB / 0.7944 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.007589, allocations: 418.9 kB / 0.7948 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.008161, allocations: 487 kB / 0.7952 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.008603, allocations: 400.2 kB / 0.7956 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000661/0.009264, allocations: 0.9491 MB / 0.7966 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.009822, allocations: 327.7 kB / 0.7969 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004197/0.01024, allocations: 490.6 kB / 0.7973 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.01054, allocations: 311.6 kB / 0.7976 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.01058, allocations: 37.38 kB / 0.7977 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.01097, allocations: 370.9 kB / 0.798 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.01112, allocations: 195.3 kB / 0.7982 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.01129, allocations: 215.4 kB / 0.7984 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.0119, allocations: 0.6745 MB / 0.7991 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.0119, allocations: 0 / 0.7991 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.0119, allocations: 0 / 0.7991 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.01191, allocations: 5.172 kB / 0.7991 GB, free: 0.5078 MB / 0.7448 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.0008614/0.01277, allocations: 0.9969 MB / 0.8001 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01281, allocations: 12.03 kB / 0.8001 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.01366, allocations: 272 kB / 0.8003 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.0142, allocations: 0.5161 MB / 0.8008 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.01424, allocations: 41.3 kB / 0.8009 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.01429, allocations: 49.12 kB / 0.8009 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.01494, allocations: 0.8573 MB / 0.8017 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.01496, allocations: 9.062 kB / 0.8018 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.01499, allocations: 20.38 kB / 0.8018 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.01506, allocations: 70.23 kB / 0.8018 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.0154, allocations: 300.6 kB / 0.8021 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.01801, allocations: 6.29 MB / 0.8083 GB, free: 6.598 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.01831, allocations: 275.1 kB / 0.8085 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.01843, allocations: 96.8 kB / 0.8086 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.01845, allocations: 4 kB / 0.8086 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.01847, allocations: 41.88 kB / 0.8087 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.01847, allocations: 1.281 kB / 0.8087 GB, free: 6.168 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001128/0.0196, allocations: 0.6968 MB / 0.8094 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.01963, allocations: 59.69 kB / 0.8094 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.01993, allocations: 0.4991 MB / 0.8099 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.01995, allocations: 37.64 kB / 0.8099 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.02011, allocations: 407.7 kB / 0.8103 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.02017, allocations: 130.9 kB / 0.8104 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.02026, allocations: 115.9 kB / 0.8106 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002652/0.02053, allocations: 0.5352 MB / 0.8111 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.02065, allocations: 93.25 kB / 0.8112 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.0209, allocations: 450.8 kB / 0.8116 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.02131, allocations: 0.5818 MB / 0.8122 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02131, allocations: 0 / 0.8122 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006254/0.02193, allocations: 0.6207 MB / 0.8128 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.02195, allocations: 11.98 kB / 0.8128 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.02196, allocations: 8 kB / 0.8128 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.02224, allocations: 122.3 kB / 0.8129 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.02249, allocations: 123.8 kB / 0.813 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.02456, allocations: 5.255 MB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.02473, allocations: 31.97 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.02476, allocations: 28 kB / 0.8182 GB, free: 11.57 MB / 0.7761 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.0001252/0.02488, allocations: 208.4 kB / 0.8184 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.02494, allocations: 71.62 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.02538, allocations: 369.1 kB / 0.8188 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.02538, allocations: 4 kB / 0.8188 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.02539, allocations: 7.938 kB / 0.8188 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02539, allocations: 3.984 kB / 0.8189 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.0262, allocations: 0.9 MB / 0.8197 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.0262, allocations: 0 / 0.8197 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.02633, allocations: 59.83 kB / 0.8198 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.02654, allocations: 122.3 kB / 0.8199 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.02655, allocations: 12.09 kB / 0.8199 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.02845, allocations: 5.229 MB / 0.825 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02845, allocations: 3.938 kB / 0.825 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.02891, allocations: 0.5624 MB / 0.8256 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.029, allocations: 83.64 kB / 0.8257 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.02903, allocations: 20.17 kB / 0.8257 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.02916, allocations: 23.91 kB / 0.8257 GB, free: 3.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.02921, allocations: 31.89 kB / 0.8257 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.02923, allocations: 8 kB / 0.8257 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001743/0.0294, allocations: 322.8 kB / 0.826 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0294, allocations: 0 / 0.826 GB, free: 2.969 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003543/0.02975, allocations: 144 kB / 0.8262 GB, free: 2.828 MB / 0.7761 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 9.19e-05/0.02985, allocations: 107.2 kB / 0.8263 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006733/0.03052, allocations: 0.8471 MB / 0.8271 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.03052, allocations: 0 / 0.8271 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.03087, allocations: 0.6533 MB / 0.8277 GB, free: 1.082 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.03141, allocations: 199.1 kB / 0.8279 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.03252, allocations: 0.9979 MB / 0.8289 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.0326, allocations: 150 kB / 0.8291 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.03277, allocations: 93.08 kB / 0.8291 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.03284, allocations: 40.5 kB / 0.8292 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of SimCode: time 9.92e-07/0.03284, allocations: 0 / 0.8292 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of Templates: time 0.009089/0.04193, allocations: 7.872 MB / 0.8369 GB, free: 7.883 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.068781852023676]