Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000801/0.000801, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.001978, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007249/0.0007249, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009622/0.001687, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9061/0.9061, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08051/0.9866, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.798/1.798, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4718/2.27, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.[0-9,]+.|sen.I.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7293 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.552e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01078/0.0108, allocations: 9.406 MB / 0.7385 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004321/0.01513, allocations: 2.994 MB / 0.7414 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004655/0.01559, allocations: 88.06 kB / 0.7415 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.01621, allocations: 350.5 kB / 0.7419 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.01838, allocations: 0.8136 MB / 0.7426 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.01958, allocations: 0.6254 MB / 0.7433 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.02352, allocations: 4.198 MB / 0.7474 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.02645, allocations: 2.54 MB / 0.7498 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.02928, allocations: 2.553 MB / 0.7523 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.03134, allocations: 2.028 MB / 0.7543 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.03177, allocations: 340 kB / 0.7546 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000723/0.03249, allocations: 472.5 kB / 0.7551 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008578/0.03335, allocations: 1.365 MB / 0.7564 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007264/0.03408, allocations: 0.8658 MB / 0.7573 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.03583, allocations: 2.576 MB / 0.7598 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.03585, allocations: 0 / 0.7598 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.653e-06/0.03585, allocations: 0.6562 kB / 0.7598 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.747e-05/0.03588, allocations: 0 / 0.7598 GB, free: 5.262 MB / 0.7292 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.002557/0.03843, allocations: 2.992 MB / 0.7627 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.03847, allocations: 12.03 kB / 0.7627 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/0.04027, allocations: 0.9067 MB / 0.7636 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.04141, allocations: 1.167 MB / 0.7647 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.04151, allocations: 177.2 kB / 0.7649 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.04173, allocations: 228.3 kB / 0.7651 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.04374, allocations: 2.127 MB / 0.7672 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.04377, allocations: 12.09 kB / 0.7672 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.04393, allocations: 100.3 kB / 0.7673 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.04406, allocations: 172.5 kB / 0.7675 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009812/0.04504, allocations: 0.6738 MB / 0.7681 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.0513, allocations: 8.253 MB / 0.7762 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009344/0.05223, allocations: 0.6897 MB / 0.7769 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.05244, allocations: 173.5 kB / 0.777 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.0525, allocations: 17.84 kB / 0.777 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.05253, allocations: 51.14 kB / 0.7771 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=72): time 2.134e-06/0.05253, allocations: 2.938 kB / 0.7771 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76): time 0.001295/0.05382, allocations: 0.9465 MB / 0.778 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.05386, allocations: 111.5 kB / 0.7781 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.05432, allocations: 0.7532 MB / 0.7789 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.05435, allocations: 37.7 kB / 0.7789 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.05473, allocations: 1.061 MB / 0.7799 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.05487, allocations: 283.6 kB / 0.7802 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.05508, allocations: 255.3 kB / 0.7805 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.05519, allocations: 418.5 kB / 0.7809 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.05535, allocations: 127.9 kB / 0.781 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.05574, allocations: 0.6974 MB / 0.7817 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.0564, allocations: 0.9798 MB / 0.7826 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.05641, allocations: 4 kB / 0.7826 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.000876/0.05728, allocations: 0.9005 MB / 0.7835 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.05731, allocations: 16 kB / 0.7835 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.05732, allocations: 16 kB / 0.7835 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.05751, allocations: 111.7 kB / 0.7836 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.05811, allocations: 344.7 kB / 0.784 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.05813, allocations: 39.86 kB / 0.784 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.05848, allocations: 65.67 kB / 0.7841 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.05854, allocations: 57 kB / 0.7841 GB, free: 11.12 MB / 0.7605 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.0002562/0.05879, allocations: 206 kB / 0.7843 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.0589, allocations: 99.83 kB / 0.7844 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.05947, allocations: 0.5045 MB / 0.7849 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.05948, allocations: 8 kB / 0.7849 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.05948, allocations: 96 / 0.7849 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.05949, allocations: 13.19 kB / 0.7849 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.06114, allocations: 1.768 MB / 0.7866 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.06114, allocations: 5.031 kB / 0.7867 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.06145, allocations: 144.9 kB / 0.7868 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.06161, allocations: 139.3 kB / 0.7869 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001346/0.06175, allocations: 83.19 kB / 0.787 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.06177, allocations: 20.78 kB / 0.787 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.06178, allocations: 4 kB / 0.787 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.06178, allocations: 4.906 kB / 0.787 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.06235, allocations: 0.879 MB / 0.7879 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.06242, allocations: 24.81 kB / 0.7879 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.06264, allocations: 20 kB / 0.7879 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.06271, allocations: 56.48 kB / 0.788 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.06273, allocations: 25.25 kB / 0.788 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002328/0.06297, allocations: 341.3 kB / 0.7883 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.06297, allocations: 0 / 0.7883 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006715/0.06364, allocations: 409.4 kB / 0.7887 GB, free: 6.195 MB / 0.7605 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.0001541/0.06379, allocations: 101.8 kB / 0.7888 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006037/0.06439, allocations: 0.6047 MB / 0.7894 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-05/0.06443, allocations: 24.44 kB / 0.7894 GB, free: 5.453 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.06465, allocations: 249.2 kB / 0.7897 GB, free: 5.199 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.06539, allocations: 362.2 kB / 0.79 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.07657, allocations: 3.567 MB / 0.7935 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.07697, allocations: 0.5677 MB / 0.7941 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003632/0.07734, allocations: 166.8 kB / 0.7942 GB, free: 492 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.0777, allocations: 273.2 kB / 0.7945 GB, free: 216 kB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.0777, allocations: 3.531 kB / 0.7945 GB, free: 216 kB / 0.7605 GB Notification: Performance of Templates: time 0.01768/0.09538, allocations: 14.15 MB / 0.8083 GB, free: 2.363 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.973800093866885]