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.001503/0.001503, allocations: 113.8 kB / 16.42 MB, free: 6.492 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.001356/0.001356, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 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.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8406, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006443/0.8471, allocations: 4.849 MB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004235/0.8514, allocations: 2.458 MB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.8518, allocations: 23.59 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.853, allocations: 398.9 kB / 1.096 GB, free: 212 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.8543, allocations: 473.6 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.8555, allocations: 370.6 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.8568, allocations: 0.9153 MB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006979/0.8575, allocations: 353.4 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.8581, allocations: 342.8 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005501/0.8587, allocations: 355.2 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.8588, allocations: 38.16 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.8597, allocations: 398.2 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.8599, allocations: 183.4 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.8603, allocations: 314.4 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.8617, allocations: 0.8808 MB / 1.101 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8617, allocations: 0 / 1.101 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.098e-06/0.8618, allocations: 1.328 kB / 1.101 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.8618, allocations: 0 / 1.101 GB, free: 14.17 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.001738/0.8635, allocations: 0.9456 MB / 1.102 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.8636, allocations: 8.359 kB / 1.102 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.865, allocations: 206.1 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.866, allocations: 0.5304 MB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.866, allocations: 34.89 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.8662, allocations: 46.23 kB / 1.102 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.8675, allocations: 0.8438 MB / 1.103 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.8675, allocations: 12.25 kB / 1.103 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.8676, allocations: 20 kB / 1.103 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.8678, allocations: 66.08 kB / 1.103 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.8689, allocations: 0.5755 MB / 1.104 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/0.8738, allocations: 5.645 MB / 1.109 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007573/0.8746, allocations: 448.4 kB / 1.11 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.875, allocations: 232.5 kB / 1.11 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.8751, allocations: 4.625 kB / 1.11 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.8751, allocations: 31.62 kB / 1.11 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.374e-06/0.8751, allocations: 1.125 kB / 1.11 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.00296/0.8781, allocations: 1.503 MB / 1.111 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.8781, allocations: 55.44 kB / 1.112 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.8788, allocations: 0.497 MB / 1.112 GB, free: 5.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.8788, allocations: 34.64 kB / 1.112 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.8791, allocations: 353.3 kB / 1.112 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.8792, allocations: 121.6 kB / 1.113 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.8794, allocations: 108.1 kB / 1.113 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8796, allocations: 364.9 kB / 1.113 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.8799, allocations: 196.4 kB / 1.113 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.8804, allocations: 450.7 kB / 1.114 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008653/0.8813, allocations: 0.6886 MB / 1.114 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8813, allocations: 3.031 kB / 1.114 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001437/0.8827, allocations: 0.8157 MB / 1.115 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.8827, allocations: 12.06 kB / 1.115 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.8828, allocations: 8.562 kB / 1.115 GB, free: 3.383 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.8833, allocations: 149 kB / 1.115 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.8839, allocations: 129.5 kB / 1.115 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.8875, allocations: 4.338 MB / 1.12 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.8881, allocations: 32.17 kB / 1.12 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.8881, allocations: 33.5 kB / 1.12 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.0003268/0.8885, allocations: 215.4 kB / 1.12 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.8886, allocations: 61.09 kB / 1.12 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.8897, allocations: 0.5949 MB / 1.12 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.8897, allocations: 6.094 kB / 1.12 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8898, allocations: 4 kB / 1.12 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.89, allocations: 168.2 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.8901, allocations: 6.062 kB / 1.121 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.8903, allocations: 21.33 kB / 1.121 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.8904, allocations: 34.83 kB / 1.121 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001435/0.8919, allocations: 0.6678 MB / 1.121 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.8929, allocations: 0.8171 MB / 1.122 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002928/0.8932, allocations: 184.6 kB / 1.122 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004257/0.8937, allocations: 330.3 kB / 1.123 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of Backend: time 8.11e-07/0.8937, allocations: 0 / 1.123 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.8961, allocations: 1.178 MB / 1.124 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002386/0.8985, allocations: 1.574 MB / 1.125 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of Templates: time 0.02819/0.9267, allocations: 9.918 MB / 1.135 GB, free: 10.85 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/jenkins1/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