Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 92.16 kB / 16.02 MB, free: 76 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.001534/0.001534, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 12 kB / 0.8735 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7556, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01926/0.775, allocations: 15.37 MB / 1.039 GB, free: 452 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.7852, allocations: 4.778 MB / 1.043 GB, free: 11.65 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.7869, allocations: 55.69 kB / 1.043 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.788, allocations: 254 kB / 1.044 GB, free: 11.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.7904, allocations: 0.7002 MB / 1.044 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.7924, allocations: 0.6666 MB / 1.045 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005673/0.7981, allocations: 5.26 MB / 1.05 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009856/0.808, allocations: 5.841 MB / 1.056 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.8104, allocations: 1.097 MB / 1.057 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.8132, allocations: 1.507 MB / 1.058 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006317/0.8139, allocations: 140 kB / 1.059 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.8158, allocations: 0.737 MB / 1.059 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001711/0.8176, allocations: 1.068 MB / 1.06 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.8199, allocations: 1.187 MB / 1.061 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005214/0.8252, allocations: 4.288 MB / 1.066 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.8252, allocations: 0 / 1.066 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8252, allocations: 0 / 1.066 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001841/0.8254, allocations: 0 / 1.066 GB, free: 4.719 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005969/0.8314, allocations: 2.175 MB / 1.068 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.8315, allocations: 11.98 kB / 1.068 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004735/0.8362, allocations: 0.8329 MB / 1.069 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/0.8402, allocations: 1.501 MB / 1.07 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.8404, allocations: 181.2 kB / 1.07 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.8416, allocations: 240.3 kB / 1.07 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00985/0.8514, allocations: 4.165 MB / 1.075 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.159e-05/0.8515, allocations: 4 kB / 1.075 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/0.8521, allocations: 99.97 kB / 1.075 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.8523, allocations: 168.5 kB / 1.075 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007258/0.8596, allocations: 3.648 MB / 1.078 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.8819, allocations: 16.54 MB / 1.094 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.8856, allocations: 2.3 MB / 1.097 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009241/0.8865, allocations: 0.5785 MB / 1.097 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.8867, allocations: 97.64 kB / 1.097 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.8867, allocations: 47.12 kB / 1.097 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 3.437e-06/0.8868, allocations: 0 / 1.097 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.006361/0.8931, allocations: 3.452 MB / 1.101 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/0.8932, allocations: 119.4 kB / 1.101 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.8947, allocations: 1.022 MB / 1.102 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.8948, allocations: 41.7 kB / 1.102 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/0.8955, allocations: 1.099 MB / 1.103 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.8958, allocations: 276.2 kB / 1.103 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.896, allocations: 113.7 kB / 1.103 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.8962, allocations: 410.7 kB / 1.104 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.8972, allocations: 0.6207 MB / 1.104 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.8987, allocations: 1.189 MB / 1.106 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.9011, allocations: 1.872 MB / 1.107 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.9011, allocations: 11.94 kB / 1.107 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003365/0.9045, allocations: 2.026 MB / 1.109 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.9046, allocations: 12 kB / 1.109 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/0.9046, allocations: 23.94 kB / 1.109 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.9051, allocations: 167.3 kB / 1.11 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.9062, allocations: 351.8 kB / 1.11 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.789e-05/0.9063, allocations: 43.84 kB / 1.11 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.9073, allocations: 139.6 kB / 1.11 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.9075, allocations: 68 kB / 1.11 GB, free: 4.418 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001575/0.909, allocations: 0.9732 MB / 1.111 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.9093, allocations: 110.7 kB / 1.111 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.9116, allocations: 1.23 MB / 1.112 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.9116, allocations: 19.92 kB / 1.112 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.9116, allocations: 4 kB / 1.112 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.9116, allocations: 7.922 kB / 1.112 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/0.9177, allocations: 3.815 MB / 1.116 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.9177, allocations: 7.984 kB / 1.116 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006484/0.9184, allocations: 160 kB / 1.116 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/0.9188, allocations: 139.3 kB / 1.116 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.9188, allocations: 20 kB / 1.116 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.9188, allocations: 11.92 kB / 1.116 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9189, allocations: 4 kB / 1.117 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.9209, allocations: 1.468 MB / 1.118 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005035/0.9214, allocations: 295.6 kB / 1.118 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.9216, allocations: 23.98 kB / 1.118 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.9222, allocations: 67.91 kB / 1.118 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.9224, allocations: 64.36 kB / 1.118 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.9225, allocations: 24 kB / 1.118 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00099/0.9235, allocations: 0.6992 MB / 1.119 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9235, allocations: 0 / 1.119 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00142/0.9249, allocations: 384 kB / 1.119 GB, free: 10.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002021/0.9251, allocations: 123.1 kB / 1.12 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.9276, allocations: 1.727 MB / 1.121 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9276, allocations: 4.062 kB / 1.121 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009892/0.9286, allocations: 0.8658 MB / 1.122 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.9304, allocations: 251.3 kB / 1.122 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/0.9382, allocations: 5.204 MB / 1.127 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/0.9404, allocations: 1.966 MB / 1.129 GB, free: 232 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.9408, allocations: 91.42 kB / 1.129 GB, free: 140 kB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/0.9408, allocations: 3.938 kB / 1.129 GB, free: 136 kB / 0.8731 GB Notification: Performance of Templates: time 0.07804/1.019, allocations: 73.03 MB / 1.201 GB, free: 7.074 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches