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.0009317/0.0009317, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009734/0.0009734, allocations: 165 kB / 24.17 MB, free: 332 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.9539/0.9539, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.93/1.93, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.382e-06/1.382e-06, allocations: 0 / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.336e-05, allocations: 10.19 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003641/0.003665, allocations: 3.758 MB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.005961, allocations: 1.411 MB / 0.7651 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.006229, allocations: 36.16 kB / 0.7651 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.00674, allocations: 167.2 kB / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.007305, allocations: 357.8 kB / 0.7656 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.007803, allocations: 310.4 kB / 0.7659 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008504/0.008654, allocations: 0.9539 MB / 0.7668 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007065/0.00936, allocations: 338.4 kB / 0.7672 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.00994, allocations: 486.7 kB / 0.7676 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.01035, allocations: 324.8 kB / 0.7679 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.0104, allocations: 40 kB / 0.768 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.01058, allocations: 107 kB / 0.7681 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.01071, allocations: 199.3 kB / 0.7683 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.01086, allocations: 203.5 kB / 0.7684 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.01135, allocations: 0.5059 MB / 0.7689 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.01135, allocations: 0 / 0.7689 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.01135, allocations: 0 / 0.7689 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.01136, allocations: 0 / 0.7689 GB, free: 13.5 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.0007719/0.01213, allocations: 0.8015 MB / 0.7697 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.01216, allocations: 16.02 kB / 0.7697 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.01269, allocations: 197.9 kB / 0.7699 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.01318, allocations: 475.4 kB / 0.7704 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.01321, allocations: 33.38 kB / 0.7704 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.01326, allocations: 48.36 kB / 0.7705 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.01377, allocations: 0.7224 MB / 0.7712 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.01379, allocations: 12.08 kB / 0.7712 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.01382, allocations: 24.36 kB / 0.7712 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/0.01389, allocations: 72.89 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.01414, allocations: 226.1 kB / 0.7715 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.01674, allocations: 4.164 MB / 0.7756 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.01701, allocations: 285.5 kB / 0.7758 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.058e-05/0.01709, allocations: 68.77 kB / 0.7759 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.01711, allocations: 4 kB / 0.7759 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01713, allocations: 38.56 kB / 0.7759 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.01714, allocations: 0 / 0.7759 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.000948/0.01808, allocations: 0.4971 MB / 0.7764 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.01811, allocations: 56.22 kB / 0.7765 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.01834, allocations: 442.9 kB / 0.7769 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.01837, allocations: 34.42 kB / 0.7769 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.0185, allocations: 325.8 kB / 0.7772 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.01856, allocations: 122.9 kB / 0.7774 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.01864, allocations: 107.6 kB / 0.7775 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.01874, allocations: 366.6 kB / 0.7778 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.0188, allocations: 61.28 kB / 0.7779 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.01898, allocations: 323.2 kB / 0.7782 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.0193, allocations: 440 kB / 0.7786 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.0193, allocations: 5.531 kB / 0.7786 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0004728/0.01978, allocations: 485.7 kB / 0.7791 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01979, allocations: 12 kB / 0.7791 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.0198, allocations: 8 kB / 0.7791 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.02005, allocations: 117.8 kB / 0.7792 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.02028, allocations: 119.8 kB / 0.7793 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.02227, allocations: 3.582 MB / 0.7828 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.02245, allocations: 20 kB / 0.7828 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.02247, allocations: 21.31 kB / 0.7828 GB, free: 14.28 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.0001412/0.02261, allocations: 162.4 kB / 0.783 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.02267, allocations: 47.94 kB / 0.783 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.02303, allocations: 309 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.02303, allocations: 4.562 kB / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.02303, allocations: 0 / 0.7833 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.02304, allocations: 4.906 kB / 0.7833 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.02375, allocations: 0.6796 MB / 0.784 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02376, allocations: 5.281 kB / 0.784 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.02386, allocations: 43.97 kB / 0.7841 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002143/0.02408, allocations: 116.2 kB / 0.7842 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.02409, allocations: 13 kB / 0.7842 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.02601, allocations: 3.583 MB / 0.7877 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02601, allocations: 0.9062 kB / 0.7877 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.02639, allocations: 484.8 kB / 0.7881 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.02648, allocations: 79.58 kB / 0.7882 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.02651, allocations: 8 kB / 0.7882 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.02661, allocations: 11.98 kB / 0.7882 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.02666, allocations: 37.19 kB / 0.7883 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.02667, allocations: 8 kB / 0.7883 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001143/0.02678, allocations: 180.4 kB / 0.7885 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.02678, allocations: 0 / 0.7885 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004055/0.02719, allocations: 144.5 kB / 0.7886 GB, free: 7.926 MB / 0.7448 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.000132/0.02732, allocations: 94.61 kB / 0.7887 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.02794, allocations: 0.6268 MB / 0.7893 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.02795, allocations: 10.06 kB / 0.7893 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.02826, allocations: 476.4 kB / 0.7898 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.02878, allocations: 192.3 kB / 0.7899 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.03007, allocations: 0.9559 MB / 0.7909 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.03018, allocations: 150 kB / 0.791 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002114/0.03039, allocations: 73.92 kB / 0.7911 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.03062, allocations: 178.6 kB / 0.7913 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/0.03063, allocations: 0 / 0.7913 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.01112/0.04174, allocations: 8.374 MB / 0.7994 GB, free: 12.91 MB / 0.7605 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.0966611839830875]