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.001442/0.001442, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001578/0.001578, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.224/2.224, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002257, allocations: 61.61 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2855, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007045/0.2926, allocations: 4.881 MB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004242/0.2968, allocations: 2.436 MB / 0.9569 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006236/0.2975, allocations: 19.81 kB / 0.9569 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.2988, allocations: 374.5 kB / 0.9573 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.3004, allocations: 398.1 kB / 0.9577 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3014, allocations: 342.9 kB / 0.958 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.3029, allocations: 0.9211 MB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007671/0.3036, allocations: 394.5 kB / 0.9593 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007128/0.3044, allocations: 342.6 kB / 0.9596 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.305, allocations: 358.5 kB / 0.96 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.3052, allocations: 36 kB / 0.96 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.3061, allocations: 407.1 kB / 0.9604 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.3064, allocations: 183.4 kB / 0.9606 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.3069, allocations: 318.3 kB / 0.9609 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3079, allocations: 0.6705 MB / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3079, allocations: 0 / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.844e-06/0.308, allocations: 0 / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.308, allocations: 0 / 0.9615 GB, free: 13.19 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.001893/0.3099, allocations: 0.9424 MB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3099, allocations: 12.02 kB / 0.9624 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.3113, allocations: 207.7 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/0.3121, allocations: 490.4 kB / 0.9631 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.149e-05/0.3121, allocations: 33.38 kB / 0.9631 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.3122, allocations: 44.36 kB / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.3134, allocations: 0.8522 MB / 0.964 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.3135, allocations: 7.922 kB / 0.964 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.3135, allocations: 27.98 kB / 0.964 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.463e-05/0.3136, allocations: 64.95 kB / 0.9641 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/0.3146, allocations: 0.5656 MB / 0.9647 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.3195, allocations: 5.658 MB / 0.9702 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.3202, allocations: 466.2 kB / 0.9706 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.3205, allocations: 224.7 kB / 0.9708 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.3205, allocations: 0 / 0.9708 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3206, allocations: 38.56 kB / 0.9709 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.3206, allocations: 0 / 0.9709 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002623/0.3232, allocations: 1.509 MB / 0.9724 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3233, allocations: 59.69 kB / 0.9724 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.3238, allocations: 498.9 kB / 0.9729 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.3239, allocations: 29.7 kB / 0.9729 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3241, allocations: 362.8 kB / 0.9733 GB, free: 364 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3242, allocations: 114.4 kB / 0.9734 GB, free: 248 kB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3244, allocations: 110.2 kB / 0.9735 GB, free: 132 kB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3246, allocations: 362.8 kB / 0.9738 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.3249, allocations: 197.2 kB / 0.974 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.3253, allocations: 443.3 kB / 0.9744 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/0.3261, allocations: 0.6916 MB / 0.9751 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3262, allocations: 4 kB / 0.9751 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001334/0.3275, allocations: 0.8051 MB / 0.9759 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.3275, allocations: 9.875 kB / 0.9759 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3276, allocations: 12 kB / 0.9759 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.3281, allocations: 160.7 kB / 0.9761 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.3286, allocations: 123.8 kB / 0.9762 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.3321, allocations: 4.336 MB / 0.9804 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.3326, allocations: 40.03 kB / 0.9805 GB, free: 8.281 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.3327, allocations: 31.98 kB / 0.9805 GB, free: 8.25 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.0003283/0.333, allocations: 213.5 kB / 0.9807 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.3331, allocations: 59.25 kB / 0.9808 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3342, allocations: 0.5969 MB / 0.9813 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3342, allocations: 0 / 0.9813 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3342, allocations: 4 kB / 0.9813 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3342, allocations: 3.984 kB / 0.9813 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.3362, allocations: 1.263 MB / 0.9826 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3362, allocations: 3.938 kB / 0.9826 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3365, allocations: 51.95 kB / 0.9826 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/0.3369, allocations: 152.3 kB / 0.9828 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.3369, allocations: 11.94 kB / 0.9828 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.3402, allocations: 4.328 MB / 0.987 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3403, allocations: 7.938 kB / 0.987 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3414, allocations: 0.7042 MB / 0.9877 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.3416, allocations: 168.2 kB / 0.9879 GB, free: 64 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.3418, allocations: 12 kB / 0.9879 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.342, allocations: 23.97 kB / 0.9879 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3421, allocations: 35.94 kB / 0.9879 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3422, allocations: 12 kB / 0.988 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000391/0.3426, allocations: 334.8 kB / 0.9883 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3426, allocations: 4 kB / 0.9883 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006633/0.3432, allocations: 136 kB / 0.9884 GB, free: 15.52 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.0001813/0.3434, allocations: 120.5 kB / 0.9885 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.3451, allocations: 1.076 MB / 0.9896 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3451, allocations: 0 / 0.9896 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.3459, allocations: 0.7353 MB / 0.9903 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.347, allocations: 206.9 kB / 0.9905 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.349, allocations: 1.301 MB / 0.9918 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.3496, allocations: 0.9019 MB / 0.9926 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3497, allocations: 51.38 kB / 0.9927 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.3497, allocations: 0 / 0.9927 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.02234/0.372, allocations: 17.99 MB / 1.01 GB, free: 8.926 MB / 0.795 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/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