Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00071/0.00071, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001785, allocations: 440 kB / 10.41 MB, free: 284 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.0007017/0.0007017, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001629, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.8967/0.8967, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07925/0.976, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.478/2.478, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2666/2.745, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.286e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007521/0.007544, allocations: 9.416 MB / 0.8281 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004471/0.01201, allocations: 2.992 MB / 0.831 GB, free: 6.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.01265, allocations: 87.31 kB / 0.8311 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.01324, allocations: 353.7 kB / 0.8315 GB, free: 5.586 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009311/0.01417, allocations: 0.804 MB / 0.8322 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008915/0.01506, allocations: 0.6354 MB / 0.8329 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.01802, allocations: 4.197 MB / 0.837 GB, free: 15.93 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.02014, allocations: 2.548 MB / 0.8394 GB, free: 13.29 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.02244, allocations: 2.557 MB / 0.8419 GB, free: 10.73 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.02442, allocations: 2.026 MB / 0.8439 GB, free: 8.699 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003973/0.02482, allocations: 340 kB / 0.8442 GB, free: 8.367 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.02557, allocations: 471.7 kB / 0.8447 GB, free: 7.906 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009259/0.0265, allocations: 1.365 MB / 0.846 GB, free: 6.539 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008227/0.02732, allocations: 0.8619 MB / 0.8469 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.02937, allocations: 2.575 MB / 0.8494 GB, free: 3.094 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.02938, allocations: 0 / 0.8494 GB, free: 3.094 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.793e-06/0.02938, allocations: 4 kB / 0.8494 GB, free: 3.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.68e-05/0.02943, allocations: 0 / 0.8494 GB, free: 3.09 MB / 0.823 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.003093/0.03252, allocations: 2.992 MB / 0.8523 GB, free: 60 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.03257, allocations: 8.031 kB / 0.8523 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.03457, allocations: 0.9067 MB / 0.8532 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.03583, allocations: 1.167 MB / 0.8543 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.03592, allocations: 181.1 kB / 0.8545 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/0.03616, allocations: 236.4 kB / 0.8547 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.03822, allocations: 2.126 MB / 0.8568 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.03826, allocations: 4.125 kB / 0.8568 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.03843, allocations: 104.4 kB / 0.8569 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.03855, allocations: 168.5 kB / 0.8571 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.03958, allocations: 0.6637 MB / 0.8577 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006681/0.04626, allocations: 8.249 MB / 0.8658 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.04721, allocations: 0.6939 MB / 0.8665 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.04743, allocations: 166.9 kB / 0.8666 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.0475, allocations: 24.66 kB / 0.8666 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.04753, allocations: 55.08 kB / 0.8667 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=72): time 2.234e-06/0.04753, allocations: 0 / 0.8667 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.001506/0.04904, allocations: 0.9558 MB / 0.8676 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.04908, allocations: 111.5 kB / 0.8677 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.04957, allocations: 0.7571 MB / 0.8685 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.04961, allocations: 37.7 kB / 0.8685 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.04999, allocations: 1.061 MB / 0.8695 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.05013, allocations: 281.6 kB / 0.8698 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.05036, allocations: 263.3 kB / 0.8701 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.05048, allocations: 406.5 kB / 0.8705 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.05064, allocations: 131.9 kB / 0.8706 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004034/0.05104, allocations: 0.7091 MB / 0.8713 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007579/0.0518, allocations: 1.039 MB / 0.8723 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.0518, allocations: 8 kB / 0.8723 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0008966/0.0527, allocations: 0.9024 MB / 0.8732 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.05272, allocations: 12 kB / 0.8732 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.05273, allocations: 20 kB / 0.8732 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.0529, allocations: 106.7 kB / 0.8733 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.0535, allocations: 343.4 kB / 0.8736 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.05352, allocations: 35.86 kB / 0.8737 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.05391, allocations: 68.03 kB / 0.8737 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.05397, allocations: 59.97 kB / 0.8738 GB, free: 8.762 MB / 0.8542 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.0003283/0.05429, allocations: 212.1 kB / 0.874 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.05441, allocations: 91.89 kB / 0.8741 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.05497, allocations: 0.5055 MB / 0.8746 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.05497, allocations: 8 kB / 0.8746 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.05498, allocations: 4 kB / 0.8746 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.05498, allocations: 3.984 kB / 0.8746 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.05676, allocations: 1.778 MB / 0.8763 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.05676, allocations: 4 kB / 0.8763 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.05706, allocations: 139.8 kB / 0.8765 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.05724, allocations: 139.3 kB / 0.8766 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001358/0.05737, allocations: 86.92 kB / 0.8767 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.0574, allocations: 20 kB / 0.8767 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.0574, allocations: 7.938 kB / 0.8767 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.05741, allocations: 4 kB / 0.8767 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.05799, allocations: 0.8745 MB / 0.8776 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.05806, allocations: 27.92 kB / 0.8776 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.0583, allocations: 19.98 kB / 0.8776 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.05838, allocations: 56.55 kB / 0.8777 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.0584, allocations: 24 kB / 0.8777 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000251/0.05865, allocations: 337.3 kB / 0.878 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.05865, allocations: 0 / 0.878 GB, free: 4.234 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007894/0.05944, allocations: 415.9 kB / 0.8784 GB, free: 3.828 MB / 0.8542 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.0001403/0.05958, allocations: 104.3 kB / 0.8785 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006267/0.06021, allocations: 0.623 MB / 0.8791 GB, free: 3.082 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.618e-05/0.06024, allocations: 30.78 kB / 0.8791 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.06053, allocations: 292.9 kB / 0.8794 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.06184, allocations: 2.27 MB / 0.8816 GB, free: 56 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.07303, allocations: 3.558 MB / 0.8851 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.07346, allocations: 0.5672 MB / 0.8857 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003697/0.07383, allocations: 161.7 kB / 0.8858 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.0742, allocations: 273.2 kB / 0.8861 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/0.0742, allocations: 0 / 0.8861 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.02112/0.09532, allocations: 13.35 MB / 0.8991 GB, free: 14.34 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4801916647702456]