Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001465/0.001465, allocations: 107 kB / 16.36 MB, free: 6.336 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.0015/0.001501, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.12 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006743/0.3163, allocations: 4.873 MB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.3202, allocations: 2.463 MB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.3205, allocations: 23.81 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3217, allocations: 394 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000828/0.3225, allocations: 453.6 kB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.3232, allocations: 370.9 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008208/0.3241, allocations: 0.9173 MB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.3246, allocations: 350.5 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.3249, allocations: 342.6 kB / 1.037 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.3253, allocations: 346.5 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.3254, allocations: 36 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006016/0.326, allocations: 399.1 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.3262, allocations: 183.5 kB / 1.038 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002718/0.3265, allocations: 322.2 kB / 1.038 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008583/0.3273, allocations: 0.8876 MB / 1.039 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3274, allocations: 0 / 1.039 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3274, allocations: 0 / 1.039 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.3274, allocations: 0 / 1.039 GB, free: 5.719 MB / 0.8106 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.001351/0.3287, allocations: 0.9386 MB / 1.04 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3288, allocations: 8.031 kB / 1.04 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.33, allocations: 199.8 kB / 1.04 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.3308, allocations: 0.5373 MB / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3308, allocations: 33.36 kB / 1.04 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.3309, allocations: 44.38 kB / 1.04 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000999/0.3319, allocations: 0.8448 MB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.332, allocations: 15.83 kB / 1.041 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.332, allocations: 23.98 kB / 1.041 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-05/0.3321, allocations: 68.95 kB / 1.041 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007963/0.3329, allocations: 0.5616 MB / 1.042 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.3372, allocations: 5.639 MB / 1.047 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.3378, allocations: 458.2 kB / 1.048 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.3381, allocations: 224.7 kB / 1.048 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.3382, allocations: 4.531 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.3382, allocations: 42.5 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.003e-06/0.3382, allocations: 4 kB / 1.048 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002471/0.3407, allocations: 1.502 MB / 1.05 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3408, allocations: 59.62 kB / 1.05 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.3412, allocations: 0.4911 MB / 1.05 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.3413, allocations: 29.7 kB / 1.05 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3415, allocations: 358.8 kB / 1.05 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.3416, allocations: 118.4 kB / 1.051 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3417, allocations: 114.2 kB / 1.051 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3419, allocations: 366.8 kB / 1.051 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3422, allocations: 193.2 kB / 1.051 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.3426, allocations: 447.3 kB / 1.052 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/0.3434, allocations: 0.6915 MB / 1.052 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3434, allocations: 0 / 1.052 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001242/0.3446, allocations: 0.8133 MB / 1.053 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3447, allocations: 8.188 kB / 1.053 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3447, allocations: 12 kB / 1.053 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004963/0.3452, allocations: 156.1 kB / 1.053 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.3456, allocations: 123.7 kB / 1.053 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/0.3488, allocations: 4.344 MB / 1.058 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3492, allocations: 31.97 kB / 1.058 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.3493, allocations: 31.98 kB / 1.058 GB, free: 0.7383 MB / 0.8262 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.0002753/0.3496, allocations: 213.5 kB / 1.058 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.3497, allocations: 63.41 kB / 1.058 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/0.3506, allocations: 0.5891 MB / 1.059 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3507, allocations: 4 kB / 1.059 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3507, allocations: 0 / 1.059 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3507, allocations: 7.984 kB / 1.059 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3525, allocations: 1.255 MB / 1.06 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3525, allocations: 7.938 kB / 1.06 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.3527, allocations: 59.89 kB / 1.06 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.3532, allocations: 144.3 kB / 1.06 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3532, allocations: 11.94 kB / 1.06 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003321/0.3565, allocations: 4.337 MB / 1.064 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3565, allocations: 0 / 1.064 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.3575, allocations: 0.7078 MB / 1.065 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.3578, allocations: 164.3 kB / 1.065 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.3578, allocations: 8 kB / 1.065 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3581, allocations: 23.97 kB / 1.065 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.3582, allocations: 43.83 kB / 1.065 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3582, allocations: 8 kB / 1.065 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003416/0.3586, allocations: 334.8 kB / 1.066 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3586, allocations: 0 / 1.066 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005966/0.3592, allocations: 140 kB / 1.066 GB, free: 8.016 MB / 0.8419 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.0001354/0.3593, allocations: 115.1 kB / 1.066 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.3606, allocations: 1.041 MB / 1.067 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.3607, allocations: 4 kB / 1.067 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008286/0.3615, allocations: 0.7346 MB / 1.067 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009666/0.3625, allocations: 203.1 kB / 1.068 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3639, allocations: 1.026 MB / 1.069 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3643, allocations: 0.9019 MB / 1.07 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.3646, allocations: 117.3 kB / 1.07 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.3647, allocations: 39.44 kB / 1.07 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of SimCode: time 8.21e-07/0.3647, allocations: 4 kB / 1.07 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.5405/0.9052, allocations: 7.582 MB / 1.077 GB, free: 51.95 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches