Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001538/0.001538, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.00154/0.00154, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 76.94 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007239/0.34, allocations: 4.842 MB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004456/0.3445, allocations: 2.463 MB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004615/0.345, allocations: 23.81 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.3464, allocations: 394.4 kB / 1.026 GB, free: 2.906 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.3476, allocations: 449.6 kB / 1.026 GB, free: 2.465 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.3486, allocations: 388.1 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.3498, allocations: 0.9018 MB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.3504, allocations: 358.5 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004881/0.3509, allocations: 330.7 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.3514, allocations: 354.4 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.3515, allocations: 40 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008162/0.3523, allocations: 403.1 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.3526, allocations: 179.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.3529, allocations: 314.2 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.3541, allocations: 0.8684 MB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3541, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3541, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.3541, allocations: 0 / 1.03 GB, free: 14.36 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.001517/0.3556, allocations: 0.9425 MB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3557, allocations: 8.031 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.3569, allocations: 203.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.3577, allocations: 490.4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3577, allocations: 33.38 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.3578, allocations: 48.36 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.3591, allocations: 0.8448 MB / 1.032 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.3591, allocations: 7.844 kB / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.3592, allocations: 27.97 kB / 1.032 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.3593, allocations: 72.89 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008864/0.3602, allocations: 0.5617 MB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005246/0.3654, allocations: 5.654 MB / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.3662, allocations: 458.6 kB / 1.039 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.3665, allocations: 225.3 kB / 1.039 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3666, allocations: 11.98 kB / 1.039 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3666, allocations: 38.5 kB / 1.039 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/0.3666, allocations: 0 / 1.039 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.00277/0.3694, allocations: 1.501 MB / 1.041 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3694, allocations: 55.69 kB / 1.041 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.3701, allocations: 498.9 kB / 1.041 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.3701, allocations: 29.7 kB / 1.041 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.3704, allocations: 358.8 kB / 1.042 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3705, allocations: 122.4 kB / 1.042 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3707, allocations: 106.2 kB / 1.042 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3709, allocations: 366.8 kB / 1.042 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.3712, allocations: 197.2 kB / 1.042 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.3717, allocations: 455.3 kB / 1.043 GB, free: 212 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000937/0.3727, allocations: 0.6882 MB / 1.044 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3727, allocations: 7.938 kB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001404/0.3741, allocations: 0.8017 MB / 1.044 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3741, allocations: 8 kB / 1.044 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3741, allocations: 8 kB / 1.044 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.3747, allocations: 164.3 kB / 1.045 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.3752, allocations: 123.8 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/0.3791, allocations: 4.337 MB / 1.049 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.3795, allocations: 47.95 kB / 1.049 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.3796, allocations: 31.94 kB / 1.049 GB, free: 9.426 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.0003003/0.3799, allocations: 219.9 kB / 1.049 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.38, allocations: 55.34 kB / 1.049 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3811, allocations: 0.597 MB / 1.05 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3811, allocations: 8 kB / 1.05 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3811, allocations: 4 kB / 1.05 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3811, allocations: 3.984 kB / 1.05 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.3832, allocations: 1.262 MB / 1.051 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3832, allocations: 0 / 1.051 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3835, allocations: 55.89 kB / 1.051 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/0.3839, allocations: 144.4 kB / 1.051 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3839, allocations: 11.94 kB / 1.051 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.3879, allocations: 4.336 MB / 1.055 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3879, allocations: 4 kB / 1.055 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3891, allocations: 0.7076 MB / 1.056 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.3893, allocations: 168.3 kB / 1.056 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.3894, allocations: 8 kB / 1.056 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.3897, allocations: 23.97 kB / 1.056 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.3898, allocations: 31.89 kB / 1.056 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.3898, allocations: 8 kB / 1.056 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004129/0.3902, allocations: 338.8 kB / 1.057 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.094e-06/0.3902, allocations: 3.938 kB / 1.057 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006607/0.3909, allocations: 147.9 kB / 1.057 GB, free: 0.6875 MB / 0.8262 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.0001837/0.3911, allocations: 108.5 kB / 1.057 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001706/0.3928, allocations: 1.079 MB / 1.058 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3928, allocations: 0 / 1.058 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/0.3938, allocations: 0.7307 MB / 1.059 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3948, allocations: 202.9 kB / 1.059 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.3966, allocations: 1.093 MB / 1.06 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.3972, allocations: 0.9097 MB / 1.061 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3973, allocations: 39.44 kB / 1.061 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of SimCode: time 2.434e-06/0.3974, allocations: 4 kB / 1.061 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.4558/0.8531, allocations: 17.97 MB / 1.078 GB, free: 60.23 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches