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.001022/0.001022, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001198/0.001198, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.911/2.911, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003749, allocations: 12.48 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.361, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004883/0.366, allocations: 4.263 MB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003538/0.3695, allocations: 2.305 MB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.3699, allocations: 19.81 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.3702, allocations: 95.14 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000853/0.3711, allocations: 338.2 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.3718, allocations: 290.4 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009917/0.3728, allocations: 0.9602 MB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006978/0.3736, allocations: 424.2 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.374, allocations: 298.7 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.3744, allocations: 322.6 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.3744, allocations: 20 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.3749, allocations: 191.7 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.375, allocations: 155.5 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3752, allocations: 137.3 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.3758, allocations: 0.6469 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3758, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3758, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3758, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8262 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.001222/0.3771, allocations: 0.8256 MB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3771, allocations: 8.031 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.3783, allocations: 210.8 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.379, allocations: 481.4 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3791, allocations: 29 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.3791, allocations: 51.98 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.3802, allocations: 0.8367 MB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.3803, allocations: 7.938 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.3803, allocations: 23.98 kB / 1.071 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3804, allocations: 60.95 kB / 1.071 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008142/0.3813, allocations: 0.5695 MB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.3854, allocations: 5.651 MB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.386, allocations: 460 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.3863, allocations: 224.7 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.3864, allocations: 15.88 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3864, allocations: 38.56 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.3864, allocations: 0 / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.002528/0.3889, allocations: 1.505 MB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.389, allocations: 55.69 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.3895, allocations: 495 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.3895, allocations: 29.7 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.3898, allocations: 354.8 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.3899, allocations: 122.3 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3899, allocations: 8 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.39, allocations: 370.7 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.3903, allocations: 193.2 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004189/0.3907, allocations: 447.3 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.3911, allocations: 263.7 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3911, allocations: 0 / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001176/0.3923, allocations: 0.8097 MB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3923, allocations: 11.98 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3923, allocations: 8 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/0.3928, allocations: 152.5 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.3932, allocations: 119.7 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.3961, allocations: 4.036 MB / 1.086 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.3966, allocations: 40.14 kB / 1.086 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.3966, allocations: 28 kB / 1.086 GB, free: 7.027 MB / 0.8419 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002732/0.3969, allocations: 209.6 kB / 1.086 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.397, allocations: 59.25 kB / 1.086 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.398, allocations: 0.6007 MB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.398, allocations: 4 kB / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.398, allocations: 0 / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.398, allocations: 4 kB / 1.087 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3998, allocations: 1.25 MB / 1.088 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3998, allocations: 0 / 1.088 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.4001, allocations: 59.89 kB / 1.088 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003959/0.4005, allocations: 144.3 kB / 1.088 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.4005, allocations: 8 kB / 1.088 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002834/0.4034, allocations: 4.036 MB / 1.092 GB, free: 124 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4034, allocations: 4.031 kB / 1.092 GB, free: 120 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.4043, allocations: 0.6999 MB / 1.093 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.4046, allocations: 164.3 kB / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.4047, allocations: 8 kB / 1.093 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.4049, allocations: 23.97 kB / 1.093 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.405, allocations: 39.84 kB / 1.093 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.405, allocations: 12 kB / 1.093 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003286/0.4053, allocations: 330.8 kB / 1.094 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4053, allocations: 0 / 1.094 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006656/0.406, allocations: 140 kB / 1.094 GB, free: 14.64 MB / 0.8575 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001715/0.4062, allocations: 116.9 kB / 1.094 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.4076, allocations: 1.03 MB / 1.095 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4076, allocations: 0 / 1.095 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007913/0.4084, allocations: 0.7385 MB / 1.096 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009171/0.4094, allocations: 181.5 kB / 1.096 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4109, allocations: 1.221 MB / 1.097 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.4114, allocations: 0.9019 MB / 1.098 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.4117, allocations: 117.3 kB / 1.098 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.4118, allocations: 43.44 kB / 1.098 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.4118, allocations: 0 / 1.098 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.01253/0.4243, allocations: 7.029 MB / 1.105 GB, free: 3.113 MB / 0.8575 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 -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/jenkins/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