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.001236/0.001236, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.487/2.487, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9097, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006641/0.9163, allocations: 4.891 MB / 0.9544 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004233/0.9206, allocations: 2.489 MB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.9214, allocations: 24.84 kB / 0.9568 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.9227, allocations: 415.4 kB / 0.9572 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.924, allocations: 437.3 kB / 0.9576 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/0.925, allocations: 403.1 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.9262, allocations: 0.9162 MB / 0.9589 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.9268, allocations: 354 kB / 0.9592 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006977/0.9275, allocations: 340.3 kB / 0.9596 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005029/0.928, allocations: 353.5 kB / 0.9599 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.265e-05/0.9281, allocations: 38.72 kB / 0.9599 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.9291, allocations: 395.5 kB / 0.9603 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.9293, allocations: 192 kB / 0.9605 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003163/0.9296, allocations: 314.2 kB / 0.9608 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.9307, allocations: 0.8797 MB / 0.9617 GB, free: 176 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9307, allocations: 0 / 0.9617 GB, free: 176 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.916e-06/0.9307, allocations: 4 kB / 0.9617 GB, free: 172 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.9307, allocations: 1.062 kB / 0.9617 GB, free: 172 kB / 0.7169 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.001565/0.9323, allocations: 0.94 MB / 0.9626 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.9324, allocations: 13.22 kB / 0.9626 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.9337, allocations: 209 kB / 0.9628 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.9345, allocations: 0.4935 MB / 0.9633 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.9346, allocations: 35.61 kB / 0.9633 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.9347, allocations: 52.95 kB / 0.9634 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.9359, allocations: 0.848 MB / 0.9642 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.9359, allocations: 6.844 kB / 0.9642 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.936, allocations: 20.19 kB / 0.9642 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.9361, allocations: 62.55 kB / 0.9643 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009142/0.937, allocations: 0.5753 MB / 0.9648 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.9416, allocations: 5.657 MB / 0.9704 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.9423, allocations: 458.6 kB / 0.9708 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.9426, allocations: 224 kB / 0.971 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.9427, allocations: 3.5 kB / 0.971 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.9427, allocations: 35.69 kB / 0.9711 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 4.017e-06/0.9427, allocations: 1.406 kB / 0.9711 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002666/0.9454, allocations: 1.508 MB / 0.9725 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.9455, allocations: 55.31 kB / 0.9726 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.946, allocations: 0.5059 MB / 0.9731 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.9461, allocations: 34.8 kB / 0.9731 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.9463, allocations: 360.7 kB / 0.9734 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.9464, allocations: 118.6 kB / 0.9736 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.9466, allocations: 110.9 kB / 0.9737 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.9469, allocations: 372.7 kB / 0.974 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.9472, allocations: 189.6 kB / 0.9742 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/0.9478, allocations: 449.1 kB / 0.9746 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.9489, allocations: 0.6887 MB / 0.9753 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.9489, allocations: 7 kB / 0.9753 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001538/0.9504, allocations: 0.8113 MB / 0.9761 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.9505, allocations: 8.906 kB / 0.9761 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.9505, allocations: 8.906 kB / 0.9761 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.9511, allocations: 157.5 kB / 0.9763 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005061/0.9516, allocations: 123 kB / 0.9764 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.9554, allocations: 4.34 MB / 0.9806 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.956, allocations: 33.22 kB / 0.9807 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.956, allocations: 31.61 kB / 0.9807 GB, free: 15.47 MB / 0.7481 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/0.9564, allocations: 218 kB / 0.9809 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.9565, allocations: 66.47 kB / 0.981 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.9576, allocations: 0.5979 MB / 0.9815 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.9576, allocations: 7.859 kB / 0.9816 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9576, allocations: 1.281 kB / 0.9816 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9576, allocations: 1.281 kB / 0.9816 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.9595, allocations: 1.266 MB / 0.9828 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9595, allocations: 2.719 kB / 0.9828 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.9598, allocations: 53.86 kB / 0.9828 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.9602, allocations: 148.7 kB / 0.983 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.9602, allocations: 11.72 kB / 0.983 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.9635, allocations: 4.329 MB / 0.9872 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9635, allocations: 4 kB / 0.9872 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.9647, allocations: 0.712 MB / 0.9879 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.9649, allocations: 172.3 kB / 0.9881 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.965, allocations: 11.88 kB / 0.9881 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.9653, allocations: 27.97 kB / 0.9881 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.9654, allocations: 39.83 kB / 0.9882 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.9654, allocations: 8 kB / 0.9882 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003928/0.9658, allocations: 338.8 kB / 0.9885 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9658, allocations: 0 / 0.9885 GB, free: 7.848 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007384/0.9665, allocations: 140 kB / 0.9886 GB, free: 7.711 MB / 0.7481 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.0001542/0.9667, allocations: 111.2 kB / 0.9887 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.9681, allocations: 1.075 MB / 0.9898 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.9682, allocations: 4 kB / 0.9898 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.9689, allocations: 0.739 MB / 0.9905 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.9699, allocations: 196.8 kB / 0.9907 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.9715, allocations: 1.061 MB / 0.9917 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.972, allocations: 0.9098 MB / 0.9926 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000359/0.9724, allocations: 117.3 kB / 0.9927 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.882e-05/0.9725, allocations: 43.44 kB / 0.9928 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of SimCode: time 9.61e-07/0.9725, allocations: 0 / 0.9928 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of Templates: time 0.01459/0.9871, allocations: 7.605 MB / 1 GB, free: 11.7 MB / 0.7637 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/jenkins/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