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.006641/0.00664, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001146/0.001146, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.563/2.563, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007274/1.039, allocations: 4.857 MB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004776/1.044, allocations: 2.455 MB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/1.045, allocations: 23.78 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/1.046, allocations: 407.1 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/1.047, allocations: 444.2 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/1.048, allocations: 372.8 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001582/1.05, allocations: 0.9114 MB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/1.051, allocations: 350.3 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/1.051, allocations: 345.9 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/1.052, allocations: 343.9 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/1.052, allocations: 42.59 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/1.053, allocations: 401.1 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/1.054, allocations: 184.5 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003921/1.054, allocations: 321.9 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/1.056, allocations: 0.877 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/1.056, allocations: 5.156 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.664e-06/1.056, allocations: 0 / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.056, allocations: 0 / 1.1 GB, free: 14.45 MB / 0.8731 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.001759/1.057, allocations: 0.938 MB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.058, allocations: 8.844 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/1.059, allocations: 201.8 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.06, allocations: 0.5421 MB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/1.06, allocations: 35.23 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.06, allocations: 41.34 kB / 1.102 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/1.062, allocations: 0.8451 MB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/1.062, allocations: 11.48 kB / 1.102 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/1.062, allocations: 28.17 kB / 1.102 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/1.062, allocations: 62.62 kB / 1.103 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/1.063, allocations: 0.5672 MB / 1.103 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/1.069, allocations: 5.646 MB / 1.109 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/1.07, allocations: 446.2 kB / 1.109 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/1.07, allocations: 229.2 kB / 1.109 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/1.07, allocations: 7.406 kB / 1.109 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/1.07, allocations: 32.5 kB / 1.109 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.535e-06/1.07, allocations: 3.938 kB / 1.109 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002778/1.073, allocations: 1.504 MB / 1.111 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/1.073, allocations: 55.66 kB / 1.111 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006449/1.074, allocations: 0.4931 MB / 1.111 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/1.074, allocations: 31.17 kB / 1.111 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/1.074, allocations: 360.3 kB / 1.112 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.074, allocations: 118.9 kB / 1.112 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/1.075, allocations: 115.4 kB / 1.112 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.075, allocations: 361 kB / 1.112 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/1.075, allocations: 196.4 kB / 1.112 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/1.075, allocations: 454 kB / 1.113 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/1.076, allocations: 0.6894 MB / 1.114 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/1.076, allocations: 2.562 kB / 1.114 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001538/1.078, allocations: 0.817 MB / 1.114 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.078, allocations: 8.969 kB / 1.114 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.078, allocations: 7.688 kB / 1.114 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/1.079, allocations: 152.7 kB / 1.114 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/1.079, allocations: 129 kB / 1.115 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/1.083, allocations: 4.335 MB / 1.119 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/1.084, allocations: 36.39 kB / 1.119 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/1.084, allocations: 31.89 kB / 1.119 GB, free: 15.29 MB / 0.8887 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.000369/1.084, allocations: 215.6 kB / 1.119 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.084, allocations: 58.52 kB / 1.119 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.086, allocations: 0.5939 MB / 1.12 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.086, allocations: 7.906 kB / 1.12 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.086, allocations: 1.531 kB / 1.12 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.086, allocations: 2.156 kB / 1.12 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/1.088, allocations: 1.262 MB / 1.121 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.088, allocations: 5.75 kB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/1.088, allocations: 55.56 kB / 1.121 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/1.089, allocations: 138.3 kB / 1.121 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/1.089, allocations: 12.09 kB / 1.121 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003571/1.092, allocations: 4.337 MB / 1.125 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/1.092, allocations: 1.188 kB / 1.125 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.094, allocations: 0.7194 MB / 1.126 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/1.094, allocations: 170.2 kB / 1.126 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.094, allocations: 9.219 kB / 1.126 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/1.095, allocations: 21.73 kB / 1.126 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.095, allocations: 38.72 kB / 1.126 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/1.095, allocations: 13 kB / 1.126 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004835/1.095, allocations: 330.1 kB / 1.127 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.81e-07/1.095, allocations: 0 / 1.127 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000907/1.096, allocations: 145.7 kB / 1.127 GB, free: 8.973 MB / 0.8887 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.0002758/1.097, allocations: 113.1 kB / 1.127 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001761/1.098, allocations: 1.039 MB / 1.128 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.098, allocations: 0 / 1.128 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/1.099, allocations: 0.7337 MB / 1.129 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.101, allocations: 201.9 kB / 1.129 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/1.103, allocations: 1.027 MB / 1.13 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/1.104, allocations: 0.9062 MB / 1.131 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005761/1.104, allocations: 116.3 kB / 1.131 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.104, allocations: 44.19 kB / 1.131 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/1.104, allocations: 0 / 1.131 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of Templates: time 0.02431/1.129, allocations: 7.832 MB / 1.139 GB, free: 5.586 MB / 0.8887 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/jenkins/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