Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001304/0.001304, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001413/0.001413, allocations: 161 kB / 24.16 MB, free: 336 kB / 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 1.022/1.022, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.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.88/1.88, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.377e-05, allocations: 2.812 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004483/0.004497, allocations: 4.821 MB / 0.7647 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.0073, allocations: 1.762 MB / 0.7664 GB, free: 64 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003155/0.007616, allocations: 39.62 kB / 0.7665 GB, free: 24 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.008155, allocations: 211.2 kB / 0.7667 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006172/0.008772, allocations: 446.3 kB / 0.7671 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.009395, allocations: 411.4 kB / 0.7675 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009038/0.0103, allocations: 1.279 MB / 0.7688 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005864/0.01089, allocations: 0.5821 MB / 0.7693 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.01148, allocations: 0.6626 MB / 0.77 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004534/0.01193, allocations: 485.4 kB / 0.7704 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.01199, allocations: 64 kB / 0.7705 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.01221, allocations: 139.8 kB / 0.7706 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.01241, allocations: 335 kB / 0.7709 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.01263, allocations: 307.3 kB / 0.7712 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005629/0.0132, allocations: 0.7396 MB / 0.772 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.0132, allocations: 4.938 kB / 0.772 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.282e-06/0.0132, allocations: 0 / 0.772 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.01321, allocations: 0 / 0.772 GB, free: 10.4 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001019/0.01423, allocations: 1.035 MB / 0.773 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.01426, allocations: 12.03 kB / 0.773 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.01494, allocations: 272.2 kB / 0.7732 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.01546, allocations: 0.5099 MB / 0.7737 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.01549, allocations: 45.67 kB / 0.7738 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.01557, allocations: 76.11 kB / 0.7739 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.01619, allocations: 0.9485 MB / 0.7748 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.01621, allocations: 12.08 kB / 0.7748 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.01625, allocations: 32.36 kB / 0.7748 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.081e-05/0.01634, allocations: 89.19 kB / 0.7749 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.01663, allocations: 259.9 kB / 0.7752 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.01898, allocations: 3.913 MB / 0.779 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.01933, allocations: 269.1 kB / 0.7792 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.01944, allocations: 102.3 kB / 0.7793 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.01947, allocations: 12.48 kB / 0.7794 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.01949, allocations: 39.06 kB / 0.7794 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 1.613e-06/0.01949, allocations: 7.031 kB / 0.7794 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.00133/0.02082, allocations: 0.8048 MB / 0.7802 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.02085, allocations: 55.91 kB / 0.7802 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.0211, allocations: 482.8 kB / 0.7807 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.02113, allocations: 37.7 kB / 0.7807 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.02126, allocations: 377.4 kB / 0.7811 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.02134, allocations: 175.2 kB / 0.7813 GB, free: 488 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.02146, allocations: 130.5 kB / 0.7814 GB, free: 348 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.02156, allocations: 371.7 kB / 0.7817 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.299e-05/0.02165, allocations: 77.95 kB / 0.7818 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.02184, allocations: 293 kB / 0.7821 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.02216, allocations: 444.6 kB / 0.7825 GB, free: 15 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02216, allocations: 5 kB / 0.7825 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007481/0.02291, allocations: 0.5615 MB / 0.7831 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.02292, allocations: 8 kB / 0.7831 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.02293, allocations: 8.531 kB / 0.7831 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006264/0.02356, allocations: 294.7 kB / 0.7834 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.02378, allocations: 111.8 kB / 0.7835 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.02646, allocations: 5.301 MB / 0.7886 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.02666, allocations: 23.94 kB / 0.7887 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.02669, allocations: 25.09 kB / 0.7887 GB, free: 8.262 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.02683, allocations: 157.2 kB / 0.7888 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.0269, allocations: 60.62 kB / 0.7889 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005316/0.02744, allocations: 453.8 kB / 0.7893 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02744, allocations: 4 kB / 0.7893 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.02744, allocations: 4 kB / 0.7893 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02745, allocations: 5.297 kB / 0.7893 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.02854, allocations: 0.8749 MB / 0.7902 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02854, allocations: 4 kB / 0.7902 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.02865, allocations: 49.45 kB / 0.7903 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.02922, allocations: 286 kB / 0.7905 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.02924, allocations: 12 kB / 0.7905 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.03183, allocations: 5.284 MB / 0.7957 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03184, allocations: 1.031 kB / 0.7957 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.03238, allocations: 0.5882 MB / 0.7963 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.0325, allocations: 87.53 kB / 0.7964 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.03254, allocations: 8 kB / 0.7964 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.03268, allocations: 15.98 kB / 0.7964 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.03274, allocations: 48.97 kB / 0.7964 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.0329, allocations: 12 kB / 0.7964 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001302/0.03303, allocations: 212.3 kB / 0.7966 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.4e-07/0.03303, allocations: 0.9375 kB / 0.7966 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000459/0.03349, allocations: 220 kB / 0.7969 GB, free: 15.38 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.03361, allocations: 102 kB / 0.7969 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009401/0.03455, allocations: 0.897 MB / 0.7978 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.03456, allocations: 8.5 kB / 0.7978 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004843/0.03505, allocations: 0.7126 MB / 0.7985 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.03554, allocations: 213.3 kB / 0.7987 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.03693, allocations: 1.282 MB / 0.8 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.03706, allocations: 211.4 kB / 0.8002 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.03725, allocations: 81.44 kB / 0.8003 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.03753, allocations: 205.2 kB / 0.8005 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/0.03753, allocations: 0 / 0.8005 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.01368/0.05121, allocations: 12.1 MB / 0.8123 GB, free: 15.67 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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.368291361257434]