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.0009387/0.0009387, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009467/0.0009467, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9652/0.9652, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.384/2.384, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.823e-06/1.823e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.646e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0112/0.01123, allocations: 9.061 MB / 0.8474 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006421/0.01765, allocations: 2.891 MB / 0.8502 GB, free: 2.254 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.01871, allocations: 87.38 kB / 0.8503 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.01968, allocations: 325.7 kB / 0.8506 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.021, allocations: 0.6719 MB / 0.8513 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.02233, allocations: 0.6354 MB / 0.8519 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.02558, allocations: 3.609 MB / 0.8554 GB, free: 12.92 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.02882, allocations: 2.622 MB / 0.858 GB, free: 10.21 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.03171, allocations: 2.261 MB / 0.8602 GB, free: 7.949 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.03384, allocations: 1.73 MB / 0.8619 GB, free: 6.215 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006021/0.03444, allocations: 343.9 kB / 0.8622 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008264/0.03527, allocations: 459.7 kB / 0.8627 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.0365, allocations: 1.438 MB / 0.8641 GB, free: 3.988 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.03799, allocations: 1.029 MB / 0.8651 GB, free: 2.957 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.04047, allocations: 2.68 MB / 0.8677 GB, free: 276 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.04047, allocations: 0 / 0.8677 GB, free: 276 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.483e-06/0.04048, allocations: 0 / 0.8677 GB, free: 276 kB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001098/0.04059, allocations: 0 / 0.8677 GB, free: 276 kB / 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.003283/0.04387, allocations: 2.449 MB / 0.8701 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.04391, allocations: 12.62 kB / 0.8701 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.04634, allocations: 0.8314 MB / 0.8709 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.04782, allocations: 1.171 MB / 0.8721 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-05/0.04791, allocations: 177.1 kB / 0.8722 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.04817, allocations: 236.3 kB / 0.8724 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/0.05065, allocations: 2.126 MB / 0.8745 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.0507, allocations: 4.125 kB / 0.8745 GB, free: 9.031 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.05087, allocations: 100.4 kB / 0.8746 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.051, allocations: 172.5 kB / 0.8748 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.05215, allocations: 0.6742 MB / 0.8754 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008398/0.06055, allocations: 8.222 MB / 0.8835 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.06187, allocations: 0.6838 MB / 0.8841 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.06209, allocations: 172.4 kB / 0.8843 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.06216, allocations: 20.66 kB / 0.8843 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.06219, allocations: 51.08 kB / 0.8844 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.547e-06/0.0622, allocations: 0 / 0.8844 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.001757/0.06395, allocations: 0.9441 MB / 0.8853 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.064, allocations: 111.5 kB / 0.8854 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.06453, allocations: 0.7571 MB / 0.8861 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.06456, allocations: 41.86 kB / 0.8862 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.06499, allocations: 1.065 MB / 0.8872 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.06514, allocations: 273.6 kB / 0.8875 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.06537, allocations: 263.3 kB / 0.8877 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.0655, allocations: 414.5 kB / 0.8881 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.06566, allocations: 127.9 kB / 0.8883 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.0661, allocations: 0.7013 MB / 0.8889 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.06687, allocations: 0.9768 MB / 0.8899 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.06688, allocations: 12 kB / 0.8899 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001222/0.0681, allocations: 0.8901 MB / 0.8908 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.06812, allocations: 12 kB / 0.8908 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.06814, allocations: 20 kB / 0.8908 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.06835, allocations: 115.4 kB / 0.8909 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.06893, allocations: 299.5 kB / 0.8912 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/0.06895, allocations: 43.78 kB / 0.8912 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.0694, allocations: 63.91 kB / 0.8913 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.06946, allocations: 59.98 kB / 0.8914 GB, free: 6.723 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.000435/0.06989, allocations: 212.1 kB / 0.8916 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.07001, allocations: 87.91 kB / 0.8916 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006112/0.07062, allocations: 0.5094 MB / 0.8921 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.07063, allocations: 8 kB / 0.8922 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.07063, allocations: 0 / 0.8922 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.07064, allocations: 11.92 kB / 0.8922 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.07266, allocations: 1.763 MB / 0.8939 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.07266, allocations: 4.25 kB / 0.8939 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.07294, allocations: 123.8 kB / 0.894 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.07309, allocations: 86.67 kB / 0.8941 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.07312, allocations: 16 kB / 0.8941 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.07312, allocations: 8 kB / 0.8941 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.07313, allocations: 7.938 kB / 0.8941 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.07376, allocations: 0.8706 MB / 0.895 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.07396, allocations: 151.2 kB / 0.8951 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.396e-05/0.07404, allocations: 27.88 kB / 0.8951 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.07428, allocations: 12 kB / 0.8952 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.07436, allocations: 64.48 kB / 0.8952 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.07438, allocations: 16 kB / 0.8952 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002658/0.07465, allocations: 345.3 kB / 0.8956 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/0.07465, allocations: 0 / 0.8956 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008506/0.0755, allocations: 384 kB / 0.8959 GB, free: 1.832 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.0001531/0.07565, allocations: 112.2 kB / 0.896 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.07633, allocations: 0.598 MB / 0.8966 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.416e-05/0.07635, allocations: 14.69 kB / 0.8966 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.0766, allocations: 259.1 kB / 0.8969 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.07732, allocations: 261.1 kB / 0.8971 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.08146, allocations: 3.434 MB / 0.9005 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.0819, allocations: 0.5633 MB / 0.901 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004164/0.08231, allocations: 165.7 kB / 0.9012 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.08269, allocations: 273.2 kB / 0.9014 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of SimCode: time 1.312e-06/0.08269, allocations: 3.938 kB / 0.9014 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of Templates: time 0.02026/0.1029, allocations: 13.73 MB / 0.9149 GB, free: 14.6 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.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: 5.549399900250137]