Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 65.28 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.264, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006865/0.2709, allocations: 4.87 MB / 0.9559 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.2749, allocations: 2.436 MB / 0.9583 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004743/0.2754, allocations: 23.81 kB / 0.9583 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.2767, allocations: 409.8 kB / 0.9587 GB, free: 308 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.2778, allocations: 445.7 kB / 0.9591 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.2788, allocations: 379.1 kB / 0.9595 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.2799, allocations: 0.9173 MB / 0.9604 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005799/0.2805, allocations: 342.5 kB / 0.9607 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.281, allocations: 338.7 kB / 0.961 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.2815, allocations: 358.4 kB / 0.9613 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.939e-05/0.2816, allocations: 36 kB / 0.9614 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.2823, allocations: 399.1 kB / 0.9618 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.2825, allocations: 179.5 kB / 0.9619 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003367/0.2829, allocations: 322.2 kB / 0.9622 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009179/0.2838, allocations: 0.8798 MB / 0.9631 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2838, allocations: 0 / 0.9631 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2838, allocations: 4 kB / 0.9631 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.2838, allocations: 0 / 0.9631 GB, free: 11.74 MB / 0.7481 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.001243/0.2851, allocations: 0.9346 MB / 0.964 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.2851, allocations: 12.03 kB / 0.964 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.2863, allocations: 207.8 kB / 0.9642 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.2871, allocations: 0.5373 MB / 0.9647 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2872, allocations: 33.31 kB / 0.9648 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.2873, allocations: 48.36 kB / 0.9648 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.2882, allocations: 0.8446 MB / 0.9657 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.2882, allocations: 7.938 kB / 0.9657 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.2883, allocations: 23.98 kB / 0.9657 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.662e-05/0.2884, allocations: 68.95 kB / 0.9657 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.2892, allocations: 0.5695 MB / 0.9663 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/0.2932, allocations: 5.643 MB / 0.9718 GB, free: 2.195 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.2939, allocations: 455.1 kB / 0.9722 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.2942, allocations: 224.7 kB / 0.9725 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.2942, allocations: 4 kB / 0.9725 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2943, allocations: 42.5 kB / 0.9725 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 2.444e-06/0.2943, allocations: 0 / 0.9725 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002408/0.2967, allocations: 1.512 MB / 0.974 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2967, allocations: 55.69 kB / 0.974 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.2972, allocations: 0.4911 MB / 0.9745 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.2972, allocations: 29.7 kB / 0.9745 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2975, allocations: 354.8 kB / 0.9749 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.079e-05/0.2975, allocations: 114.4 kB / 0.975 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.2977, allocations: 114.2 kB / 0.9751 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2978, allocations: 362.8 kB / 0.9754 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.2981, allocations: 201.1 kB / 0.9756 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.2986, allocations: 451.3 kB / 0.9761 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.2993, allocations: 0.6874 MB / 0.9767 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2993, allocations: 4 kB / 0.9767 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001162/0.3005, allocations: 0.8018 MB / 0.9775 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3005, allocations: 11.94 kB / 0.9775 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.3005, allocations: 8 kB / 0.9775 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/0.301, allocations: 160.5 kB / 0.9777 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.3014, allocations: 119.8 kB / 0.9778 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/0.3045, allocations: 4.351 MB / 0.9821 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.3049, allocations: 35.97 kB / 0.9821 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.305, allocations: 24 kB / 0.9821 GB, free: 6.762 MB / 0.7637 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.000256/0.3052, allocations: 217.7 kB / 0.9823 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.3053, allocations: 63.23 kB / 0.9824 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009732/0.3063, allocations: 0.5929 MB / 0.983 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3063, allocations: 4 kB / 0.983 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3063, allocations: 8 kB / 0.983 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3064, allocations: 0 / 0.983 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.3081, allocations: 1.257 MB / 0.9842 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3081, allocations: 0 / 0.9842 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.3084, allocations: 63.83 kB / 0.9843 GB, free: 4.434 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/0.3087, allocations: 132.4 kB / 0.9844 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3088, allocations: 23.88 kB / 0.9844 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.3118, allocations: 4.328 MB / 0.9886 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3118, allocations: 0 / 0.9886 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.3127, allocations: 0.7159 MB / 0.9893 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.3129, allocations: 164.3 kB / 0.9895 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.313, allocations: 8 kB / 0.9895 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.3133, allocations: 27.97 kB / 0.9895 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.3134, allocations: 35.84 kB / 0.9896 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3134, allocations: 11.98 kB / 0.9896 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003135/0.3137, allocations: 330.9 kB / 0.9899 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3137, allocations: 0 / 0.9899 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006093/0.3143, allocations: 140 kB / 0.99 GB, free: 14.03 MB / 0.7794 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.0001391/0.3145, allocations: 123.1 kB / 0.9901 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.3158, allocations: 1.028 MB / 0.9911 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3158, allocations: 1 kB / 0.9911 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.3166, allocations: 0.7344 MB / 0.9919 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.3175, allocations: 210.4 kB / 0.9921 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3192, allocations: 1.022 MB / 0.9931 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.3197, allocations: 0.9097 MB / 0.994 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003322/0.3201, allocations: 117.3 kB / 0.9941 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3202, allocations: 39.44 kB / 0.9941 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.3202, allocations: 0 / 0.9941 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of Templates: time 0.01453/0.3347, allocations: 7.591 MB / 1.002 GB, free: 2.113 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches