Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,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.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 109 kB / 16.41 MB, free: 6.438 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.001364/0.001364, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.17 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.214/2.214, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9758/0.9771, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006051/0.9832, allocations: 4.903 MB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004444/0.9877, allocations: 2.487 MB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.9884, allocations: 24.31 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.9897, allocations: 407.1 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.9912, allocations: 447.5 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.9925, allocations: 394.4 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.994, allocations: 0.9236 MB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.9947, allocations: 358.2 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006557/0.9954, allocations: 343.9 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005446/0.996, allocations: 347.5 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.9961, allocations: 37.38 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.9971, allocations: 406.2 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.9973, allocations: 181.8 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.9977, allocations: 325 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.9991, allocations: 0.8839 MB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9991, allocations: 1.719 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9991, allocations: 4 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.9992, allocations: 0 / 1.101 GB, free: 14.11 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.0016/1.001, allocations: 0.9445 MB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.001, allocations: 13.25 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.002, allocations: 206.6 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/1.003, allocations: 0.548 MB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/1.003, allocations: 36.3 kB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/1.003, allocations: 41.09 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/1.005, allocations: 0.8486 MB / 1.103 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.005, allocations: 11.69 kB / 1.103 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/1.005, allocations: 24.23 kB / 1.103 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/1.005, allocations: 69.75 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.006, allocations: 0.568 MB / 1.104 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006243/1.012, allocations: 5.646 MB / 1.109 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008851/1.013, allocations: 458.6 kB / 1.11 GB, free: 6.848 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/1.014, allocations: 227.2 kB / 1.11 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/1.014, allocations: 3.594 kB / 1.11 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/1.014, allocations: 36.78 kB / 1.11 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 3.196e-06/1.014, allocations: 0 / 1.11 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.003284/1.017, allocations: 1.509 MB / 1.112 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.017, allocations: 59.72 kB / 1.112 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/1.018, allocations: 0.4967 MB / 1.112 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/1.018, allocations: 31.11 kB / 1.112 GB, free: 5.441 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/1.018, allocations: 362 kB / 1.113 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.018, allocations: 126.6 kB / 1.113 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.018, allocations: 106.6 kB / 1.113 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.019, allocations: 370.7 kB / 1.113 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/1.019, allocations: 196 kB / 1.113 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/1.019, allocations: 451.5 kB / 1.114 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/1.02, allocations: 0.6847 MB / 1.114 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.02, allocations: 2.562 kB / 1.114 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001416/1.022, allocations: 0.8112 MB / 1.115 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.022, allocations: 10.31 kB / 1.115 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.022, allocations: 8.984 kB / 1.115 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/1.022, allocations: 152 kB / 1.115 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/1.023, allocations: 126 kB / 1.115 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/1.027, allocations: 4.343 MB / 1.12 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/1.027, allocations: 36.14 kB / 1.12 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/1.027, allocations: 28.36 kB / 1.12 GB, free: 14.93 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.0003404/1.028, allocations: 211.7 kB / 1.12 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.028, allocations: 61.88 kB / 1.12 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/1.029, allocations: 0.6022 MB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/1.029, allocations: 5.109 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.029, allocations: 1.312 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.029, allocations: 5.719 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.031, allocations: 1.265 MB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.031, allocations: 1.859 kB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.031, allocations: 55.17 kB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004029/1.032, allocations: 142.2 kB / 1.122 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/1.032, allocations: 12.44 kB / 1.122 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/1.035, allocations: 4.332 MB / 1.126 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.035, allocations: 3 kB / 1.126 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/1.036, allocations: 0.7181 MB / 1.127 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/1.036, allocations: 170.5 kB / 1.127 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/1.036, allocations: 8.219 kB / 1.127 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/1.037, allocations: 22.73 kB / 1.127 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/1.037, allocations: 39.95 kB / 1.127 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/1.037, allocations: 11.44 kB / 1.127 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00046/1.037, allocations: 339.7 kB / 1.128 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/1.037, allocations: 0 / 1.128 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007786/1.038, allocations: 142.5 kB / 1.128 GB, free: 8.613 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.0001577/1.038, allocations: 110.7 kB / 1.128 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001555/1.04, allocations: 1.036 MB / 1.129 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.04, allocations: 0.875 kB / 1.129 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008593/1.041, allocations: 0.7356 MB / 1.13 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.042, allocations: 207.1 kB / 1.13 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.044, allocations: 1.097 MB / 1.131 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/1.044, allocations: 0.9092 MB / 1.132 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1.044, allocations: 44.48 kB / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of SimCode: time 1.853e-06/1.044, allocations: 0 / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of Templates: time 0.03052/1.075, allocations: 18.36 MB / 1.15 GB, free: 0.5547 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches