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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001636/0.001635, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001973/0.001973, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.572/1.572, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.771/2.771, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7537, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02128/0.775, allocations: 15.92 MB / 1.032 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.7853, allocations: 4.766 MB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.7871, allocations: 59.62 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.7901, allocations: 0.9843 MB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.7925, allocations: 0.6808 MB / 1.039 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.795, allocations: 0.8334 MB / 1.04 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004802/0.7998, allocations: 3.626 MB / 1.043 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.8101, allocations: 5.84 MB / 1.049 GB, free: 1.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.8134, allocations: 1.597 MB / 1.05 GB, free: 244 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003504/0.8169, allocations: 1.87 MB / 1.052 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.8181, allocations: 340 kB / 1.052 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.8207, allocations: 0.7919 MB / 1.053 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002052/0.8228, allocations: 1.326 MB / 1.055 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.8248, allocations: 1.459 MB / 1.056 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.8308, allocations: 5.138 MB / 1.061 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8309, allocations: 4 kB / 1.061 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8309, allocations: 0 / 1.061 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001045/0.831, allocations: 0 / 1.061 GB, free: 5.289 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.005335/0.8363, allocations: 2.647 MB / 1.064 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.8364, allocations: 15.98 kB / 1.064 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/0.8405, allocations: 0.8329 MB / 1.064 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.8431, allocations: 1.494 MB / 1.066 GB, free: 196 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.8433, allocations: 181.1 kB / 1.066 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/0.8437, allocations: 236.3 kB / 1.066 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.8509, allocations: 4.169 MB / 1.07 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.774e-05/0.851, allocations: 11.94 kB / 1.07 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/0.8512, allocations: 95.98 kB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.8514, allocations: 172.5 kB / 1.071 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/0.8576, allocations: 3.626 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/0.8793, allocations: 16.55 MB / 1.09 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.883, allocations: 2.289 MB / 1.093 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009467/0.8839, allocations: 0.5747 MB / 1.093 GB, free: 2.488 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.8841, allocations: 101.6 kB / 1.093 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.8842, allocations: 43.12 kB / 1.093 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.8842, allocations: 0 / 1.093 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.007571/0.8918, allocations: 3.424 MB / 1.097 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.8919, allocations: 115.4 kB / 1.097 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.8934, allocations: 1.018 MB / 1.098 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.8935, allocations: 33.7 kB / 1.098 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.8943, allocations: 1.103 MB / 1.099 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.8946, allocations: 280.1 kB / 1.099 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004283/0.895, allocations: 279.2 kB / 1.099 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.8953, allocations: 410.7 kB / 1.1 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.8963, allocations: 0.6167 MB / 1.1 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.8977, allocations: 1.193 MB / 1.101 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/0.9002, allocations: 1.864 MB / 1.103 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.9003, allocations: 4 kB / 1.103 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003354/0.9036, allocations: 2.022 MB / 1.105 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.9037, allocations: 12 kB / 1.105 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.609e-05/0.9037, allocations: 20.62 kB / 1.105 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.9042, allocations: 163.3 kB / 1.105 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.9054, allocations: 347.4 kB / 1.106 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-05/0.9054, allocations: 39.86 kB / 1.106 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.9065, allocations: 131.7 kB / 1.106 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.9066, allocations: 71.98 kB / 1.106 GB, free: 4.453 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.00187/0.9085, allocations: 0.9732 MB / 1.107 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.9088, allocations: 118.6 kB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.911, allocations: 1.226 MB / 1.108 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.9111, allocations: 11.94 kB / 1.108 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.9111, allocations: 0 / 1.108 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.9111, allocations: 8.078 kB / 1.108 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.9183, allocations: 3.804 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.9183, allocations: 4 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.9189, allocations: 155.8 kB / 1.112 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003796/0.9193, allocations: 143.6 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.9194, allocations: 16 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.9194, allocations: 15.88 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9194, allocations: 3.984 kB / 1.112 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.9217, allocations: 1.464 MB / 1.114 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.9222, allocations: 271.8 kB / 1.114 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.9225, allocations: 23.89 kB / 1.114 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.9231, allocations: 67.91 kB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9233, allocations: 68.36 kB / 1.114 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.9233, allocations: 20 kB / 1.114 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001007/0.9244, allocations: 0.6992 MB / 1.115 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9244, allocations: 0 / 1.115 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001539/0.9259, allocations: 392 kB / 1.115 GB, free: 10.7 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.0002355/0.9262, allocations: 129.2 kB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003215/0.9294, allocations: 2.012 MB / 1.117 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.9294, allocations: 0 / 1.117 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.9304, allocations: 0.858 MB / 1.118 GB, free: 7.531 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.9319, allocations: 277 kB / 1.118 GB, free: 7.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.9432, allocations: 4.811 MB / 1.123 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/0.947, allocations: 1.92 MB / 1.125 GB, free: 456 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002162/0.9492, allocations: 453.6 kB / 1.125 GB, free: 0 / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.9496, allocations: 79.48 kB / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of SimCode: time 2.084e-06/0.9497, allocations: 0 / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of Templates: time 0.04198/0.9916, allocations: 13.31 MB / 1.139 GB, free: 2.742 MB / 0.8887 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=400 -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/jenkins/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