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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0104/0.0104, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001894/0.001894, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.612/1.612, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 62.5 kB / 0.9508 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3314, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006165/0.3377, allocations: 4.836 MB / 1.093 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003927/0.3416, allocations: 2.467 MB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003269/0.342, allocations: 23.81 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3432, allocations: 405.8 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.3442, allocations: 461.7 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.345, allocations: 375.1 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009148/0.346, allocations: 0.9212 MB / 1.097 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005169/0.3465, allocations: 362.5 kB / 1.098 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.3469, allocations: 330.7 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.3474, allocations: 358.4 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.3474, allocations: 40 kB / 1.098 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006469/0.3481, allocations: 403.1 kB / 1.099 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3483, allocations: 183.4 kB / 1.099 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.3486, allocations: 310.2 kB / 1.099 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009394/0.3495, allocations: 0.8909 MB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3495, allocations: 0 / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3495, allocations: 0 / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.3496, allocations: 0 / 1.1 GB, free: 5.16 MB / 0.8575 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.001492/0.3511, allocations: 0.9649 MB / 1.101 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3511, allocations: 8.031 kB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3524, allocations: 204.3 kB / 1.101 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.3533, allocations: 0.5339 MB / 1.102 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.012e-05/0.3533, allocations: 33.38 kB / 1.102 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.3534, allocations: 44.36 kB / 1.102 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3545, allocations: 0.8525 MB / 1.103 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.3545, allocations: 15.88 kB / 1.103 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.3546, allocations: 23.98 kB / 1.103 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.3547, allocations: 60.97 kB / 1.103 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.3555, allocations: 0.5734 MB / 1.103 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/0.3599, allocations: 5.647 MB / 1.109 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.3606, allocations: 458.8 kB / 1.109 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3609, allocations: 228.7 kB / 1.109 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.3609, allocations: 4 kB / 1.109 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.361, allocations: 35.03 kB / 1.109 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.361, allocations: 0 / 1.109 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002567/0.3636, allocations: 1.517 MB / 1.111 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3636, allocations: 55.69 kB / 1.111 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.3641, allocations: 0.4912 MB / 1.111 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3641, allocations: 33.7 kB / 1.111 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.3644, allocations: 363.7 kB / 1.112 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.3645, allocations: 123 kB / 1.112 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3646, allocations: 110.2 kB / 1.112 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3648, allocations: 362.8 kB / 1.112 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.3651, allocations: 193.2 kB / 1.113 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.3655, allocations: 455 kB / 1.113 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/0.3663, allocations: 0.6954 MB / 1.114 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3663, allocations: 4 kB / 1.114 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001238/0.3675, allocations: 0.8018 MB / 1.114 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3676, allocations: 12 kB / 1.114 GB, free: 5.258 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3676, allocations: 8 kB / 1.114 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.3681, allocations: 160.5 kB / 1.115 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.3686, allocations: 123.8 kB / 1.115 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.372, allocations: 4.348 MB / 1.119 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/0.3724, allocations: 31.97 kB / 1.119 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.3724, allocations: 28 kB / 1.119 GB, free: 136 kB / 0.8731 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.0002986/0.3727, allocations: 217.7 kB / 1.119 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.3728, allocations: 59.62 kB / 1.119 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009951/0.3738, allocations: 0.5968 MB / 1.12 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3738, allocations: 4 kB / 1.12 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3738, allocations: 4 kB / 1.12 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3738, allocations: 3.984 kB / 1.12 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3757, allocations: 1.257 MB / 1.121 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3757, allocations: 4 kB / 1.121 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.376, allocations: 51.89 kB / 1.121 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.3764, allocations: 144.4 kB / 1.121 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.3764, allocations: 15.88 kB / 1.121 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.3798, allocations: 4.344 MB / 1.126 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3798, allocations: 4.031 kB / 1.126 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3808, allocations: 0.7085 MB / 1.126 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.3811, allocations: 172.7 kB / 1.126 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-05/0.3812, allocations: 12 kB / 1.126 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3815, allocations: 23.91 kB / 1.126 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.3816, allocations: 39.83 kB / 1.126 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3816, allocations: 8 kB / 1.126 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003807/0.382, allocations: 334.8 kB / 1.127 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.382, allocations: 0 / 1.127 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006989/0.3827, allocations: 140 kB / 1.127 GB, free: 7.383 MB / 0.8887 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.0001679/0.3829, allocations: 115.1 kB / 1.127 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.3844, allocations: 1.029 MB / 1.128 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3844, allocations: 0 / 1.128 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000855/0.3852, allocations: 0.7458 MB / 1.129 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.3863, allocations: 199.2 kB / 1.129 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.388, allocations: 1.046 MB / 1.13 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.3886, allocations: 0.9059 MB / 1.131 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003684/0.389, allocations: 121.3 kB / 1.131 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.3891, allocations: 35.44 kB / 1.131 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of SimCode: time 1.062e-06/0.3891, allocations: 4 kB / 1.131 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of Templates: time 0.01664/0.4057, allocations: 7.683 MB / 1.139 GB, free: 11.35 MB / 0.9044 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 -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/jenkins/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