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.00139/0.00139, allocations: 80.94 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.001712/0.001712, allocations: 177.3 kB / 23.35 MB, free: 1.137 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.9816/0.9816, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.462/2.462, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.402e-06/1.402e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.493e-05, allocations: 8.641 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.009946/0.009971, allocations: 9.097 MB / 0.8475 GB, free: 5.043 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.01458, allocations: 2.895 MB / 0.8503 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000622/0.0152, allocations: 83.38 kB / 0.8504 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.0159, allocations: 329.7 kB / 0.8507 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008696/0.01677, allocations: 0.668 MB / 0.8514 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.01766, allocations: 0.6315 MB / 0.852 GB, free: 436 kB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002509/0.02017, allocations: 3.609 MB / 0.8555 GB, free: 12.81 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002592/0.02276, allocations: 2.621 MB / 0.8581 GB, free: 10.11 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.02485, allocations: 2.265 MB / 0.8603 GB, free: 7.836 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.02641, allocations: 1.727 MB / 0.862 GB, free: 6.105 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003049/0.02671, allocations: 340 kB / 0.8623 GB, free: 5.773 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.02727, allocations: 475.6 kB / 0.8628 GB, free: 5.309 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.02835, allocations: 1.434 MB / 0.8642 GB, free: 3.871 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008249/0.02917, allocations: 1.029 MB / 0.8652 GB, free: 2.84 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.03109, allocations: 2.684 MB / 0.8678 GB, free: 152 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.03109, allocations: 0 / 0.8678 GB, free: 152 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0311, allocations: 3.938 kB / 0.8678 GB, free: 148 kB / 0.823 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.03113, allocations: 0 / 0.8678 GB, free: 148 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.002442/0.03357, allocations: 2.445 MB / 0.8702 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.03361, allocations: 8.625 kB / 0.8702 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.03598, allocations: 0.8314 MB / 0.871 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.03725, allocations: 1.175 MB / 0.8721 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.03734, allocations: 177.1 kB / 0.8723 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.03759, allocations: 228.4 kB / 0.8725 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.03979, allocations: 2.126 MB / 0.8746 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/0.03983, allocations: 12.11 kB / 0.8746 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.04, allocations: 100.3 kB / 0.8747 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.04014, allocations: 172.5 kB / 0.8749 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.04121, allocations: 0.6715 MB / 0.8755 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007458/0.04866, allocations: 8.21 MB / 0.8836 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.04968, allocations: 0.6953 MB / 0.8842 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.04989, allocations: 168.4 kB / 0.8844 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.04996, allocations: 20.66 kB / 0.8844 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.04999, allocations: 47.14 kB / 0.8845 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.04999, allocations: 0 / 0.8845 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.00173/0.05172, allocations: 0.9558 MB / 0.8854 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.05176, allocations: 111.5 kB / 0.8855 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.05224, allocations: 0.7532 MB / 0.8862 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.05228, allocations: 37.7 kB / 0.8863 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.05266, allocations: 1.065 MB / 0.8873 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.05279, allocations: 281.6 kB / 0.8876 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.05302, allocations: 259.3 kB / 0.8878 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.05314, allocations: 414.5 kB / 0.8882 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.05331, allocations: 131.9 kB / 0.8883 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.05371, allocations: 0.6935 MB / 0.889 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.05441, allocations: 0.9846 MB / 0.89 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.05442, allocations: 4 kB / 0.89 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0009375/0.05536, allocations: 0.8982 MB / 0.8909 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.05538, allocations: 12 kB / 0.8909 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.05539, allocations: 20 kB / 0.8909 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.05558, allocations: 114.6 kB / 0.891 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.05645, allocations: 315.9 kB / 0.8913 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.05647, allocations: 43.8 kB / 0.8913 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.05686, allocations: 63.91 kB / 0.8914 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.05691, allocations: 55.98 kB / 0.8915 GB, free: 6.59 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.0002913/0.05721, allocations: 208.1 kB / 0.8917 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.05733, allocations: 91.91 kB / 0.8917 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.05793, allocations: 0.5016 MB / 0.8922 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.05793, allocations: 12 kB / 0.8923 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.05794, allocations: 0 / 0.8923 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.05794, allocations: 7.984 kB / 0.8923 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.05972, allocations: 1.767 MB / 0.894 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.05972, allocations: 4 kB / 0.894 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.06002, allocations: 128.1 kB / 0.8941 GB, free: 3.758 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.06016, allocations: 94.61 kB / 0.8942 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.06019, allocations: 16 kB / 0.8942 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.0602, allocations: 8 kB / 0.8942 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.0602, allocations: 0 / 0.8942 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.06079, allocations: 0.8784 MB / 0.8951 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.06097, allocations: 143.2 kB / 0.8952 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.06104, allocations: 27.88 kB / 0.8952 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.06128, allocations: 19.94 kB / 0.8953 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.06137, allocations: 64.48 kB / 0.8953 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.06139, allocations: 12 kB / 0.8953 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002574/0.06165, allocations: 345.3 kB / 0.8957 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/0.06165, allocations: 0 / 0.8957 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007394/0.06239, allocations: 388 kB / 0.896 GB, free: 1.691 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.0001503/0.06254, allocations: 119 kB / 0.8961 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006501/0.06319, allocations: 0.5945 MB / 0.8967 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.362e-05/0.06321, allocations: 17.75 kB / 0.8967 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.06345, allocations: 247.9 kB / 0.897 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007453/0.0642, allocations: 274.9 kB / 0.8972 GB, free: 440 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.06786, allocations: 3.438 MB / 0.9006 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.06829, allocations: 0.5672 MB / 0.9012 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000365/0.06865, allocations: 165.7 kB / 0.9013 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.06905, allocations: 277.2 kB / 0.9016 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of SimCode: time 7.72e-07/0.06905, allocations: 4 kB / 0.9016 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.01975/0.0888, allocations: 13.71 MB / 0.915 GB, free: 14.46 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 -s gbode -gbm=radauIIA3 -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.632653738372028]