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.008832/0.008832, allocations: 102.4 kB / 15.73 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.001471/0.001471, allocations: 197.7 kB / 16.68 MB, free: 5.93 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9901/0.9918, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005556/0.9974, allocations: 4.859 MB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003778/1.001, allocations: 2.442 MB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/1.002, allocations: 23.12 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/1.003, allocations: 407.6 kB / 1.095 GB, free: 208 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/1.004, allocations: 469.8 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/1.005, allocations: 368.2 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001392/1.007, allocations: 0.9192 MB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/1.007, allocations: 353.7 kB / 1.097 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/1.008, allocations: 346.9 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/1.008, allocations: 343.3 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.525e-05/1.008, allocations: 38.31 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/1.009, allocations: 402 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/1.01, allocations: 180 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/1.01, allocations: 325.8 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/1.011, allocations: 0.8807 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.011, allocations: 0.75 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.743e-06/1.011, allocations: 4 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.382e-05/1.011, allocations: 0.9375 kB / 1.1 GB, free: 14.16 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.001635/1.013, allocations: 0.9334 MB / 1.101 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.013, allocations: 13.53 kB / 1.101 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.014, allocations: 206.4 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008954/1.015, allocations: 0.5291 MB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/1.015, allocations: 36.12 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/1.015, allocations: 45.39 kB / 1.102 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/1.016, allocations: 0.8445 MB / 1.102 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.987e-05/1.017, allocations: 19.92 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/1.017, allocations: 19.94 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/1.017, allocations: 70.58 kB / 1.103 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/1.018, allocations: 0.5635 MB / 1.103 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/1.023, allocations: 5.643 MB / 1.109 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/1.023, allocations: 457.8 kB / 1.109 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/1.024, allocations: 224.4 kB / 1.109 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/1.024, allocations: 4.031 kB / 1.109 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.024, allocations: 36.81 kB / 1.109 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/1.024, allocations: 0 / 1.109 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002719/1.027, allocations: 1.503 MB / 1.111 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.027, allocations: 59.67 kB / 1.111 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/1.027, allocations: 0.489 MB / 1.111 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/1.027, allocations: 36.27 kB / 1.111 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/1.027, allocations: 351.7 kB / 1.112 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/1.028, allocations: 118.6 kB / 1.112 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/1.028, allocations: 110.8 kB / 1.112 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.028, allocations: 369.3 kB / 1.112 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/1.028, allocations: 197.2 kB / 1.112 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/1.029, allocations: 446.7 kB / 1.113 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009018/1.03, allocations: 0.6889 MB / 1.114 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.03, allocations: 2.25 kB / 1.114 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001523/1.031, allocations: 0.8144 MB / 1.114 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.031, allocations: 9.375 kB / 1.114 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/1.031, allocations: 8.969 kB / 1.114 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/1.032, allocations: 161 kB / 1.115 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/1.032, allocations: 121.5 kB / 1.115 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/1.036, allocations: 4.338 MB / 1.119 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/1.037, allocations: 33.31 kB / 1.119 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.037, allocations: 32.44 kB / 1.119 GB, free: 15.01 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.0003587/1.037, allocations: 224.3 kB / 1.119 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.037, allocations: 65.8 kB / 1.119 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/1.038, allocations: 0.5948 MB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.038, allocations: 3.312 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.038, allocations: 1.594 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.038, allocations: 6 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/1.041, allocations: 1.258 MB / 1.121 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.041, allocations: 2.688 kB / 1.121 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/1.041, allocations: 53.84 kB / 1.121 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/1.041, allocations: 143.3 kB / 1.121 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/1.041, allocations: 11.91 kB / 1.121 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00377/1.045, allocations: 4.337 MB / 1.125 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.045, allocations: 2.656 kB / 1.125 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/1.047, allocations: 0.7227 MB / 1.126 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/1.047, allocations: 164.9 kB / 1.126 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/1.047, allocations: 9.312 kB / 1.126 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/1.048, allocations: 22.28 kB / 1.126 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.048, allocations: 31.64 kB / 1.126 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/1.048, allocations: 13.03 kB / 1.126 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006292/1.049, allocations: 328.3 kB / 1.127 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.11e-07/1.049, allocations: 4 kB / 1.127 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001024/1.05, allocations: 143.8 kB / 1.127 GB, free: 8.691 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.0001895/1.05, allocations: 108.2 kB / 1.127 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.052, allocations: 1.036 MB / 1.128 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.052, allocations: 5.406 kB / 1.128 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/1.053, allocations: 0.7301 MB / 1.129 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.054, allocations: 209.5 kB / 1.129 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/1.056, allocations: 1.035 MB / 1.13 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/1.057, allocations: 0.9016 MB / 1.131 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004735/1.058, allocations: 122 kB / 1.131 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.058, allocations: 39.38 kB / 1.131 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of SimCode: time 2.685e-06/1.058, allocations: 0 / 1.131 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.02289/1.081, allocations: 7.686 MB / 1.138 GB, free: 5.348 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