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.001179/0.001179, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001184/0.001185, allocations: 191.4 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.553/1.553, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 56.59 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3558, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00658/0.3625, allocations: 4.865 MB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3664, allocations: 2.455 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.3667, allocations: 27.81 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.3679, allocations: 398 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3689, allocations: 445.6 kB / 1.035 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008955/0.3698, allocations: 378 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009942/0.3708, allocations: 0.9134 MB / 1.036 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005504/0.3714, allocations: 358.5 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004266/0.3718, allocations: 330.7 kB / 1.037 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.3723, allocations: 350.4 kB / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.3724, allocations: 40 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006441/0.373, allocations: 403.1 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3732, allocations: 179.4 kB / 1.038 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.3735, allocations: 318.2 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.3745, allocations: 0.8838 MB / 1.039 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3745, allocations: 3.938 kB / 1.039 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3745, allocations: 0 / 1.039 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.3745, allocations: 0 / 1.039 GB, free: 5.707 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.001487/0.376, allocations: 0.9425 MB / 1.04 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3761, allocations: 8.031 kB / 1.04 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.3773, allocations: 195.9 kB / 1.04 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.3781, allocations: 0.5295 MB / 1.04 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3781, allocations: 37.36 kB / 1.04 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.3782, allocations: 48.34 kB / 1.04 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.3793, allocations: 0.8448 MB / 1.041 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.3793, allocations: 15.84 kB / 1.041 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/0.3794, allocations: 20 kB / 1.041 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.69e-05/0.3795, allocations: 64.95 kB / 1.041 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.3803, allocations: 0.5616 MB / 1.042 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.3852, allocations: 5.647 MB / 1.047 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.3859, allocations: 459.2 kB / 1.048 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.3863, allocations: 224.7 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.3863, allocations: 0.5312 kB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3863, allocations: 46.48 kB / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.886e-06/0.3864, allocations: 4 kB / 1.048 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002535/0.3889, allocations: 1.502 MB / 1.05 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.389, allocations: 59.62 kB / 1.05 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.3896, allocations: 0.4911 MB / 1.05 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3896, allocations: 29.7 kB / 1.05 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.3899, allocations: 354.8 kB / 1.05 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.39, allocations: 118.4 kB / 1.051 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3902, allocations: 110.2 kB / 1.051 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3904, allocations: 366.8 kB / 1.051 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.3907, allocations: 201.2 kB / 1.051 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.3912, allocations: 447.3 kB / 1.052 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007882/0.392, allocations: 0.6876 MB / 1.052 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.392, allocations: 4 kB / 1.052 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001221/0.3932, allocations: 0.8095 MB / 1.053 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.3933, allocations: 8 kB / 1.053 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.3933, allocations: 15.98 kB / 1.053 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.3938, allocations: 152.2 kB / 1.053 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.3942, allocations: 127.7 kB / 1.053 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.3977, allocations: 4.348 MB / 1.058 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.3982, allocations: 35.97 kB / 1.058 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.3983, allocations: 28 kB / 1.058 GB, free: 0.7227 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.0003276/0.3986, allocations: 213.5 kB / 1.058 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.3987, allocations: 55.34 kB / 1.058 GB, free: 460 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3998, allocations: 0.5969 MB / 1.059 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3998, allocations: 0 / 1.059 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3998, allocations: 4 kB / 1.059 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3998, allocations: 3.984 kB / 1.059 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.4016, allocations: 1.259 MB / 1.06 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4016, allocations: 0 / 1.06 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.4019, allocations: 59.88 kB / 1.06 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.4023, allocations: 148.3 kB / 1.06 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4023, allocations: 11.94 kB / 1.06 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003271/0.4056, allocations: 4.329 MB / 1.064 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4056, allocations: 4.031 kB / 1.064 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.4066, allocations: 0.7079 MB / 1.065 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.4069, allocations: 172.3 kB / 1.065 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.4069, allocations: 8 kB / 1.065 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.4072, allocations: 23.97 kB / 1.065 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.4073, allocations: 35.78 kB / 1.065 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4073, allocations: 12 kB / 1.065 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003699/0.4077, allocations: 338.8 kB / 1.066 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4077, allocations: 0 / 1.066 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006656/0.4083, allocations: 140 kB / 1.066 GB, free: 8 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.0001639/0.4085, allocations: 111.1 kB / 1.066 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.4099, allocations: 1.049 MB / 1.067 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.41, allocations: 0 / 1.067 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/0.4108, allocations: 0.7268 MB / 1.067 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.4118, allocations: 209.6 kB / 1.068 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.4135, allocations: 1.031 MB / 1.069 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.414, allocations: 0.9059 MB / 1.07 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.4144, allocations: 117.2 kB / 1.07 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.39e-05/0.4145, allocations: 39.44 kB / 1.07 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of SimCode: time 1.163e-06/0.4145, allocations: 0 / 1.07 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of Templates: time 0.5555/0.97, allocations: 7.577 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 cvode -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