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.01066/0.01066, allocations: 100.7 kB / 15.73 MB, free: 5.59 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.002026/0.002026, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.47/1.47, 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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9948/0.996, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006042/1.002, allocations: 4.862 MB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004525/1.007, allocations: 2.447 MB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004955/1.007, allocations: 24.03 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/1.009, allocations: 402.9 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001407/1.01, allocations: 443.6 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/1.011, allocations: 380.9 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001545/1.013, allocations: 0.9108 MB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007407/1.014, allocations: 354.9 kB / 1.097 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/1.014, allocations: 337.4 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/1.015, allocations: 351.4 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.368e-05/1.015, allocations: 38.44 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009546/1.016, allocations: 401 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/1.016, allocations: 180.8 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003695/1.016, allocations: 318.2 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/1.018, allocations: 0.8811 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.018, allocations: 0 / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.653e-06/1.018, allocations: 0 / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.018, allocations: 4 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.001711/1.02, allocations: 0.9417 MB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.02, allocations: 9.688 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/1.021, allocations: 210 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009869/1.022, allocations: 0.527 MB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/1.022, allocations: 34.83 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/1.022, allocations: 49.5 kB / 1.102 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/1.024, allocations: 0.844 MB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/1.024, allocations: 12.33 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/1.024, allocations: 23.98 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/1.024, allocations: 65.97 kB / 1.103 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/1.025, allocations: 0.5693 MB / 1.103 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005835/1.031, allocations: 5.644 MB / 1.109 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/1.032, allocations: 457 kB / 1.109 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/1.032, allocations: 224.2 kB / 1.109 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/1.032, allocations: 3.031 kB / 1.109 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/1.032, allocations: 37.67 kB / 1.109 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/1.032, allocations: 0 / 1.109 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003785/1.036, allocations: 1.504 MB / 1.111 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.036, allocations: 58.75 kB / 1.111 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006946/1.037, allocations: 0.4938 MB / 1.111 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.037, allocations: 30.95 kB / 1.111 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/1.037, allocations: 348.6 kB / 1.112 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/1.037, allocations: 117.5 kB / 1.112 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/1.037, allocations: 112.1 kB / 1.112 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.038, allocations: 364.4 kB / 1.112 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/1.038, allocations: 201.2 kB / 1.112 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/1.038, allocations: 446.5 kB / 1.113 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008808/1.039, allocations: 0.6917 MB / 1.114 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.039, allocations: 3.047 kB / 1.114 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00148/1.041, allocations: 0.8088 MB / 1.114 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/1.041, allocations: 8.062 kB / 1.114 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.041, allocations: 13.38 kB / 1.114 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000571/1.041, allocations: 156.3 kB / 1.114 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/1.042, allocations: 121.6 kB / 1.115 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/1.046, allocations: 4.342 MB / 1.119 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/1.046, allocations: 32.3 kB / 1.119 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/1.046, allocations: 28.73 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.0003205/1.047, allocations: 219.6 kB / 1.119 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/1.047, allocations: 65.08 kB / 1.119 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/1.048, allocations: 0.598 MB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.048, allocations: 4.344 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.048, allocations: 2.469 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.048, allocations: 1.5 kB / 1.12 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/1.05, allocations: 1.259 MB / 1.121 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.05, allocations: 5.25 kB / 1.121 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/1.05, allocations: 58.69 kB / 1.121 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/1.051, allocations: 142.5 kB / 1.121 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/1.051, allocations: 12.47 kB / 1.121 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/1.054, allocations: 4.332 MB / 1.125 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.054, allocations: 2.062 kB / 1.125 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.056, allocations: 0.7229 MB / 1.126 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000291/1.056, allocations: 166.3 kB / 1.126 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/1.056, allocations: 8.391 kB / 1.126 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/1.056, allocations: 26.17 kB / 1.126 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/1.056, allocations: 35.66 kB / 1.126 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/1.056, allocations: 8.203 kB / 1.126 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004379/1.057, allocations: 333.8 kB / 1.127 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.61e-07/1.057, allocations: 0 / 1.127 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007636/1.058, allocations: 143.7 kB / 1.127 GB, free: 8.688 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.0001795/1.058, allocations: 112.3 kB / 1.127 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001528/1.059, allocations: 1.033 MB / 1.128 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.059, allocations: 4.125 kB / 1.128 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009104/1.06, allocations: 0.7297 MB / 1.129 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.061, allocations: 206.4 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.001772/1.063, allocations: 1.031 MB / 1.13 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/1.064, allocations: 0.9007 MB / 1.131 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003514/1.064, allocations: 122.5 kB / 1.131 GB, free: 5.859 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.064, allocations: 39.22 kB / 1.131 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/1.064, allocations: 0 / 1.131 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of Templates: time 0.01917/1.083, allocations: 7.69 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