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.001719/0.001719, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001808/0.001808, allocations: 195.6 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.519/1.519, 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.358/2.358, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 71.78 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00719/0.3074, allocations: 4.851 MB / 0.9559 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004213/0.3117, allocations: 2.44 MB / 0.9583 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005193/0.3122, allocations: 23.81 kB / 0.9583 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3135, allocations: 409.8 kB / 0.9587 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.3146, allocations: 445.7 kB / 0.9591 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008819/0.3155, allocations: 382 kB / 0.9595 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3166, allocations: 0.9095 MB / 0.9604 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.3171, allocations: 362.4 kB / 0.9607 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004766/0.3176, allocations: 334.7 kB / 0.961 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.3181, allocations: 350.4 kB / 0.9613 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.3181, allocations: 40 kB / 0.9614 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007314/0.3189, allocations: 399.1 kB / 0.9618 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3191, allocations: 179.5 kB / 0.9619 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003617/0.3194, allocations: 318.2 kB / 0.9622 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00095/0.3204, allocations: 0.8876 MB / 0.9631 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3205, allocations: 4 kB / 0.9631 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3205, allocations: 0 / 0.9631 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.3205, 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.001446/0.3219, allocations: 0.9385 MB / 0.964 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.322, allocations: 8.031 kB / 0.964 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.3232, allocations: 203.8 kB / 0.9642 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.3241, allocations: 0.5335 MB / 0.9648 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.3241, allocations: 33.31 kB / 0.9648 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.3242, allocations: 44.36 kB / 0.9648 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3253, allocations: 0.8485 MB / 0.9657 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3253, allocations: 7.938 kB / 0.9657 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.3254, allocations: 23.98 kB / 0.9657 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.165e-05/0.3255, allocations: 68.95 kB / 0.9658 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007922/0.3263, allocations: 0.5656 MB / 0.9663 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.3311, allocations: 5.643 MB / 0.9718 GB, free: 2.203 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.3317, allocations: 454.3 kB / 0.9722 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.3321, allocations: 228.7 kB / 0.9725 GB, free: 1.523 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3321, allocations: 4 kB / 0.9725 GB, free: 1.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.3322, allocations: 38.5 kB / 0.9725 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 4.308e-06/0.3322, allocations: 0 / 0.9725 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002529/0.3347, allocations: 1.508 MB / 0.974 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.3348, allocations: 59.67 kB / 0.974 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.3353, allocations: 0.4911 MB / 0.9745 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3353, allocations: 29.7 kB / 0.9745 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.3356, allocations: 354.8 kB / 0.9749 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.3356, allocations: 114.4 kB / 0.975 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.3358, allocations: 110.2 kB / 0.9751 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.336, allocations: 366.8 kB / 0.9754 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.3362, allocations: 201.1 kB / 0.9756 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.3367, allocations: 447.3 kB / 0.9761 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008106/0.3375, allocations: 0.6877 MB / 0.9767 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3375, allocations: 0 / 0.9767 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001217/0.3387, allocations: 0.8089 MB / 0.9775 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3388, allocations: 11.94 kB / 0.9775 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3388, allocations: 11.94 kB / 0.9775 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.3393, allocations: 152.9 kB / 0.9777 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.3398, allocations: 123.8 kB / 0.9778 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.3432, allocations: 4.351 MB / 0.9821 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.3437, allocations: 32.12 kB / 0.9821 GB, free: 6.797 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.3437, allocations: 32 kB / 0.9821 GB, free: 6.766 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.0003513/0.3441, allocations: 211.5 kB / 0.9823 GB, free: 6.551 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.3442, allocations: 63.25 kB / 0.9824 GB, free: 6.488 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.3452, allocations: 0.6007 MB / 0.983 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3452, allocations: 4 kB / 0.983 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3452, allocations: 0 / 0.983 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3453, allocations: 0 / 0.983 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.3471, allocations: 1.253 MB / 0.9842 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3471, allocations: 4 kB / 0.9842 GB, free: 4.508 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.3474, allocations: 59.89 kB / 0.9843 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.3478, allocations: 144.4 kB / 0.9844 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.3479, allocations: 11.88 kB / 0.9844 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003707/0.3516, allocations: 4.336 MB / 0.9886 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3516, allocations: 0 / 0.9886 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.3528, allocations: 0.7159 MB / 0.9893 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.3531, allocations: 172.3 kB / 0.9895 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.3532, allocations: 8 kB / 0.9895 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.3534, allocations: 19.97 kB / 0.9895 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.3536, allocations: 39.84 kB / 0.9896 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3536, allocations: 12 kB / 0.9896 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004084/0.354, allocations: 334.8 kB / 0.9899 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3541, allocations: 4 kB / 0.9899 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007745/0.3548, 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.0001866/0.355, allocations: 107.1 kB / 0.9901 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.3568, allocations: 1.04 MB / 0.9912 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.3568, allocations: 4 kB / 0.9912 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.3578, allocations: 0.7301 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.0009732/0.3588, allocations: 206.1 kB / 0.9921 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3606, allocations: 1.027 MB / 0.9931 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.3612, allocations: 0.9019 MB / 0.994 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.3615, allocations: 117.3 kB / 0.9941 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.3616, allocations: 43.42 kB / 0.9941 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of SimCode: time 1.322e-06/0.3616, allocations: 0 / 0.9941 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of Templates: time 0.01579/0.3774, allocations: 7.595 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 cvode -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